<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.microsoft.com/dynamics/2008/01/sharedtypes" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/dynamics/2008/01/sharedtypes" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:simpleType name="AxdEnum_boolean">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="false" />
      <xs:enumeration value="true" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_XMLDocPurpose">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purpose:Purpose</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Original" />
      <xs:enumeration value="Duplicate" />
      <xs:enumeration value="Proforma" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DataAreaId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Company:ID for an area of data</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_AxdEntityAction">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">AxdEntityAction:AxdEntityAction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="create" />
      <xs:enumeration value="update" />
      <xs:enumeration value="replace" />
      <xs:enumeration value="delete" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TransDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Date:Transaction date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FiscalCalendarID">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Calendar:Enter a name for the calendar</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FiscalYearName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fiscal year:Name of the fiscal year, which you specify when you create a new fiscal year</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PeriodName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Period name:Specify a name for the period, for example, January, Period 01, Close-internal, or Close-external</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_FiscalCalendarPeriod">
    <xs:sequence>
      <xs:element minOccurs="1" name="FiscalCalendarYear_FiscalCalendar_CalendarId" type="tns:AxdExtType_FiscalCalendarID" />
      <xs:element minOccurs="1" name="FiscalCalendarYear_Name" type="tns:AxdExtType_FiscalYearName" />
      <xs:element minOccurs="1" name="Name" type="tns:AxdExtType_PeriodName" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_JournalizingDefinitionCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posting definition:A code that identifies a posting definition</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Voucher">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Voucher:Voucher number in ledger.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Record-ID:Unique ID for the record in the database</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdType_Int64">
    <xs:restriction base="xs:long">
      <xs:minInclusive value="-9223372036854775808" />
      <xs:maxInclusive value="9223372036854775807" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RecVersion">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Record Version:Version of the record in the database</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdType_Integer">
    <xs:restriction base="xs:int">
      <xs:minInclusive value="-2147483648" />
      <xs:maxInclusive value="2147483647" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_NoYes">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdType_ExtCodeValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Value:Actual value of the related record according to the selected external code type.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_CurrencyCode_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_CurrencyCode tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CurrencyCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Currency:Current currency code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AdvancedLedgerEntryId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction number:Unique key for advanced ledger entries that is used when processing an advanced ledger entry</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_AdvancedLedgerEntryTransactionStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document status:Document status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="All" />
      <xs:enumeration value="Draft" />
      <xs:enumeration value="Posted" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AdvancedLedgerEntryTransText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction text:A description of the purpose for the transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_AdvancedLedgerEntryWFApprovalStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Workflow status:Workflow status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Draft" />
      <xs:enumeration value="Submitted" />
      <xs:enumeration value="Approved" />
      <xs:enumeration value="Rejected" />
      <xs:enumeration value="ChangeRequested" />
      <xs:enumeration value="Denied" />
      <xs:enumeration value="Cancellation" />
      <xs:enumeration value="NotSubmitted" />
      <xs:enumeration value="PendingCompletion" />
      <xs:enumeration value="Completed" />
      <xs:enumeration value="PendingCancellation" />
      <xs:enumeration value="PendingApproval" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AmountCurCredit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Credit:Credit amount in given currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdType_Decimal">
    <xs:restriction base="xs:decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AmountCurDebit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Debit:Debit amount in given currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AmountCur">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount in transaction currency:The amount in the transaction currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:complexType name="AxdType_DimensionAttributeValue">
    <xs:sequence>
      <xs:element minOccurs="1" name="Name" type="xs:string" />
      <xs:element minOccurs="1" name="Value" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdType_DimensionAttributeValues">
    <xs:sequence>
      <xs:element minOccurs="1" maxOccurs="unbounded" name="Value" type="tns:AxdType_DimensionAttributeValue" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdType_MultiTypeAccount">
    <xs:sequence>
      <xs:element minOccurs="1" name="DisplayValue" type="xs:string" />
      <xs:element minOccurs="1" name="Account" type="xs:string" />
      <xs:element minOccurs="0" name="Values" nillable="true" type="tns:AxdType_DimensionAttributeValues" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_ProjActivityNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Activity number:The activity number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjCategoryId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Category:Category that is used as a default.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjInvoiceProjId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Project contract ID:Project contract identifier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjFundingSourceId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Funding source ID:Enter a name to identify the funding source</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_ProjFundingSource">
    <xs:sequence>
      <xs:element minOccurs="1" name="ContractId" type="tns:AxdExtType_ProjInvoiceProjId" />
      <xs:element minOccurs="1" name="FundingSourceId" type="tns:AxdExtType_ProjFundingSourceId" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_ProjId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Project ID:Project identification</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjLinePropertyId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line property:Attribute that defines cost and sales percentages and options for revenue accrual and capitalization cost</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjTaxGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax group:A group of sales tax codes for calculating taxes on a sale or purchase</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjTaxItemGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item sales tax group:Group of sales tax codes that can be calculated for an item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Qty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Number of units</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmPersonnelNumberId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Personnel number:The personnel number for the worker</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetConditionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Asset condition:Identify a condition an asset can be in, for example, poor, good, or excellent.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Description">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Brief description of transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_AssetType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Tangible" />
      <xs:enumeration value="Intangible" />
      <xs:enumeration value="Financial" />
      <xs:enumeration value="LandBuilding" />
      <xs:enumeration value="Goodwill" />
      <xs:enumeration value="Other" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetAutoNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Autonumber fixed assets:Assign numbers automatically to new fixed assets?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetCapitalizationThreshold">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Capitalization threshold:Enter capitalization threshold amount to use as the default value for fixed asset groups</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetGISLayerId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">GIS layer ID:Default Geographic Information System layer identifier for assets in this asset group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fixed asset group:Select a fixed asset group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetInsuredValueFactor">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Insured value factor:Enter the percentage to increase or decrease the insured value during the fixed asset periodic process, for example, enter 1.5 for 1.5%.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetLocationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Location:Location of the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetMajorTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Major type:Identify a top-level asset classification for reporting purposes only, for example, street, land, or sewer.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetGroupName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Describe the fixed asset group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetPropertyTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Property type:Identify the type of property that the asset is.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="FixedAsset" />
      <xs:enumeration value="ContinuingProperty" />
      <xs:enumeration value="Other" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetReplacementCostFactor">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Replacement cost factor:Enter the percentage to increase or decrease the replacement cost during the fixed asset periodic process, for example, enter 1.5 for 1.5%.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetLocationName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Describe the location.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetAcquisitionValueNO">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Acquisition price for tax purposes:Acquisition value of the fixed asset for tax purposes.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetAssessmentNO">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax assessment value:Tax assessment value of the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetAssessmentTaxNO">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Value for tax purposes:Value for tax purposes of the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fixed asset number:Unique key for identification of fixed asset. The key is used when creating new assets.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetReplaceCost">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Replacement cost:Cost to replace this fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetSourceTypeId_CN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Source type:Identify an asset classification for reporting purposes only, for examples, purchased, investment, etc.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetBarcode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bar code:Bar code of the asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetLongDescription">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Asset long description:Description</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="1000" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Filename">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">File name:File path and name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="259" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetGISReferenceNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">GIS reference number:Enter the Geographic Information System reference number, which indicates the exact location within the GIS layer for the asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetTransDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction date:Date of transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetInsuranceAgent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Agent:Identify the insurance agent for the asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetInsuranceDate1">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Insurance date 1:Insurance date field used to keep check on insurance end dates, etc.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetInsuranceDate2">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Insurance date 2:Insurance date field used to keep check on insurance end dates, etc.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetInsurancePolicyNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Policy number:Insurance policy number of the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_VendAccount_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_VendAccount tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Vendor account:Vendor account number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_NoYesId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetInsuredValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Insured value:Value that the fixed asset is insured for.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetLastFactorUpdateDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Last periodic value/cost update:Displays the date the replacement cost or insured value was last updated using the fixed asset periodic process.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetLastMaintenance">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Last maintenance:Date of last maintenance.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetIdMain">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Main fixed asset:The main fixed asset that this fixed asset uses as its parent.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetMaintenanceInfo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Info:Field with update information.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="254" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetMaintenanceInfoMemo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Info:Field with update information.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Name">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetModelYear">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Model year:Enter the year that the item was built.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Describe the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetNameAlias">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Search name:Find fast name applying to the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetNextMaintenance">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Next maintenance:Date of next maintenance.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetNotes">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Comments:General comments for the fixed asset</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetParcelId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Parcel  ID:If the asset is land, enter the identifier for the parcel, which is a plot of land. For example, enter 01-6211421.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetPhysicalInventory">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Physical inventory:Date of last physical inventory of this fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetPolicyAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Policy amount:Enter the amount that the asset is insured for.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetPolicyExpiration">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Policy expiration date:Enter the expiration date on the insurance policy for the asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetQuantity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:The number of units</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetReference">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:General comments for the fixed asset</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="254" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetReturnOnInvestmentsNO">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Origin for return on capital:Origin of calculation of the return on capital.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetRoomNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Room number:Enter the room number where the asset is located.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Num">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number:Number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetSortingId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sort field 1:Alternative sort field for the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetSortingId2">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sort field 2:Alternative sort field for the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetSortingId3">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sort field 3:Alternative sort field for the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetSubventionNO">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Taxable contribution:Taxable contribution to the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetSubventionTaxFreeNO">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax-free contribution:Tax-free contribution to the fixed asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetTaxCountyNO">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Municipality:Municipality that the fixed asset will be reported to for tax purposes.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetTechInfo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Technical info:Field for technical information.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="254" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetTitleHolder">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Titleholder:Identify the agency that holds the title for the asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetUnitCost">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit cost:The cost per unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetUnitOfMeasure">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit of measure:The common unit of measure for the item, for example, dozen, case, or each</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetValueAt19840101NO">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Value as on 1/1/1984:Value of the fixed asset as on January 1, 1984.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPartyName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="100" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPartyNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Party ID:Party identification</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="40" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStmtISOMax500Text">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Text:Text fields in the ISO20022 schema. We've taken the maximum text size so as to be able to accommodate fields from non ISO formats as well.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="500" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStatementIdentificationText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Text:Text fields in the ISO20022 schema. We've taken the maximum text size so as to be able to accommodate fields from non ISO formats as well.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="35" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdType_DateTime">
    <xs:simpleContent>
      <xs:extension base="xs:dateTime">
        <xs:attribute name="localDateTime" type="xs:dateTime" />
        <xs:attribute name="timezone" type="tns:AxdEnum_Timezone" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_Timezone">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="GMTMINUS1200INTERNATIONALDATELINEWEST" />
      <xs:enumeration value="GMTMINUS1100MIDWAYISLAND_SAMOA" />
      <xs:enumeration value="GMTMINUS1000HAWAII" />
      <xs:enumeration value="GMTMINUS0900ALASKA" />
      <xs:enumeration value="GMTMINUS0800PACIFICTIME" />
      <xs:enumeration value="GMTMINUS0800TIJUANA_BAJACALIFORNIA" />
      <xs:enumeration value="GMTMINUS0700ARIZONA" />
      <xs:enumeration value="GMTMINUS0700MOUNTAINTIME" />
      <xs:enumeration value="GMTMINUS0700CHIHUAHUA_LAPAZ_MAZATLAN" />
      <xs:enumeration value="GMTMINUS0600CENTRALAMERICA" />
      <xs:enumeration value="GMTMINUS0600CENTRALTIME" />
      <xs:enumeration value="GMTMINUS0600GUADALAJARA_MEXICOCITY" />
      <xs:enumeration value="GMTMINUS0600SASKATCHEWAN" />
      <xs:enumeration value="GMTMINUS0500BOGOTA_LIMA_QUITO_RIOBRANCO" />
      <xs:enumeration value="GMTMINUS0500EASTERNTIME" />
      <xs:enumeration value="GMTMINUS0500INDIANA" />
      <xs:enumeration value="GMTMINUS0430CARACAS" />
      <xs:enumeration value="GMTMINUS0400ASUNCION" />
      <xs:enumeration value="GMTMINUS0400ATLANTICTIME" />
      <xs:enumeration value="GMTMINUS0400LAPAZ" />
      <xs:enumeration value="GMTMINUS0400MANAUS" />
      <xs:enumeration value="GMTMINUS0400SANTIAGO" />
      <xs:enumeration value="GMTMINUS0330NEWFOUNDLAND" />
      <xs:enumeration value="GMTMINUS0300BRASILIA" />
      <xs:enumeration value="GMTMINUS0300BUENOSAIRES" />
      <xs:enumeration value="GMTMINUS0300BUENOSAIRES_GEORGETOWN" />
      <xs:enumeration value="GMTMINUS0300GREENLAND" />
      <xs:enumeration value="GMTMINUS0300MONTEVIDEO" />
      <xs:enumeration value="GMTMINUS0300_SALVADOR" />
      <xs:enumeration value="GMTMINUS0200MIDATLANTIC" />
      <xs:enumeration value="GMTMINUS0100AZORES" />
      <xs:enumeration value="GMTMINUS0100CAPEVERDIS" />
      <xs:enumeration value="GMT_CASABLANCA" />
      <xs:enumeration value="GMT_COORDINATEDUNIVERSALTIME" />
      <xs:enumeration value="GMT_CASABLANCA_MONTROVIA_REYKJAVIK" />
      <xs:enumeration value="GMT_DUBLIN_EDINBURGH_LISBON_LONDON" />
      <xs:enumeration value="GMTPLUS0100_AMSTERDAM_BERLIN_BERN_ROME" />
      <xs:enumeration value="GMTPLUS0100BELGRADE_BRATISLAVA_BUDAPEST" />
      <xs:enumeration value="GMTPLUS0100BRUSSELS_COPENHAGEN_MADRID" />
      <xs:enumeration value="GMTPLUS0100SARAJEVO_SKOPJE_WARSAW_ZAGREB" />
      <xs:enumeration value="GMTPLUS0100WESTCENTRALAFRICA" />
      <xs:enumeration value="GMTPLUS0200AMMAN" />
      <xs:enumeration value="GMTPLUS0200ATHENS_BUCHAREST_ISTANBUL" />
      <xs:enumeration value="GMTPLUS0200BEIRUT" />
      <xs:enumeration value="GMTPLUS0200MINSK" />
      <xs:enumeration value="GMTPLUS0200CAIRO" />
      <xs:enumeration value="GMTPLUS0200_DAMASCUS" />
      <xs:enumeration value="GMTPLUS0200HARARE_PRETORIA" />
      <xs:enumeration value="GMTPLUS0200HELSINKI_KYIV_RIGA_VILNIUS" />
      <xs:enumeration value="GMTPLUS0200JERUSALEM" />
      <xs:enumeration value="GMTPLUS0200WINDHOEK" />
      <xs:enumeration value="GMTPLUS0300BAGHDAD" />
      <xs:enumeration value="GMT_PLUS0300KALININGRAD_MINSK" />
      <xs:enumeration value="GMTPLUS0300KUWAIT_RIYADH" />
      <xs:enumeration value="GMTPLUS0300MOSCOW_STPETERSBURG_VOLGOGRAD" />
      <xs:enumeration value="GMTPLUS0400PORTLOUIS" />
      <xs:enumeration value="GMTPLUS0300NAIROBI" />
      <xs:enumeration value="GMTPLUS0300TBILISI" />
      <xs:enumeration value="GMTPLUS0330TEHRAN" />
      <xs:enumeration value="GMTPLUS0400ABUDHABI_MUSCAT" />
      <xs:enumeration value="GMTPLUS0400BAKU" />
      <xs:enumeration value="GMTPLUS0400CAUCASUSSTANDARDTIME" />
      <xs:enumeration value="GMTPLUS0400YEREVAN" />
      <xs:enumeration value="GMTPLUS0430KABUL" />
      <xs:enumeration value="GMTPLUS0500EKATERINBURG" />
      <xs:enumeration value="GMTPLUS0500ISLAMABAD_KARACHI" />
      <xs:enumeration value="GMTPLUS0500ISLAMABAD_KARACHI_TASHKENT" />
      <xs:enumeration value="GMTPLUS0530CHENNAI_KOLKATA_MUMBAI" />
      <xs:enumeration value="GMTPLUS0530SRIJAYAWARDENEPURA" />
      <xs:enumeration value="GMTPLUS0545KATHMANDU" />
      <xs:enumeration value="GMTPLUS0600ALMATY_NOVOSIBIRSK" />
      <xs:enumeration value="GMTPLUS0600ASTANA_DHAKA" />
      <xs:enumeration value="GMTPLUS0600DHAKA" />
      <xs:enumeration value="GMTPLUS0630_YANGON" />
      <xs:enumeration value="GMTPLUS0700_BANGKOK_HANOI_JAKARTA" />
      <xs:enumeration value="GMTPLUS0700KRASNOYARSK" />
      <xs:enumeration value="GMTPLUS0800BEIJING_CHONGQING_HONGKONG" />
      <xs:enumeration value="GMTPLUS0800IRKUTSK_ULAANBATAAR" />
      <xs:enumeration value="GMTPLUS0800_ULAANBAATAR" />
      <xs:enumeration value="GMTPLUS0800KUALALUMPUR_SINGAPORE" />
      <xs:enumeration value="GMTPLUS0800PERTH" />
      <xs:enumeration value="GMTPLUS0800TAIPEI" />
      <xs:enumeration value="GMTPLUS0900OSAKA_SAPPORO_TOKYO" />
      <xs:enumeration value="GMTPLUS0900SEOUL" />
      <xs:enumeration value="GMTPLUS0900YAKUTSK" />
      <xs:enumeration value="GMTPLUS0930ADELAIDE" />
      <xs:enumeration value="GMTPLUS0930DARWIN" />
      <xs:enumeration value="GMTPLUS1000BRISBANE" />
      <xs:enumeration value="GMTPLUS1000CANBERRA_MELBOURNE_SYDNEY" />
      <xs:enumeration value="GMTPLUS1000GUAM_PORTMORESBY" />
      <xs:enumeration value="GMTPLUS1000HOBART" />
      <xs:enumeration value="GMTPLUS1000VLADIVOSTOK" />
      <xs:enumeration value="GMTPLUS0600MAGADAN" />
      <xs:enumeration value="GMTPLUS1100MAGADAN_SOLOMONIS" />
      <xs:enumeration value="GMTPLUS1200AUCKLAND_WELLINGTON" />
      <xs:enumeration value="GMTPLUS1200FIJI_KAMCHATKA_MARSHALLIS" />
      <xs:enumeration value="GMTPLUS1300NUKU_ALOFA" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_BankStmtISODateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">DateTime:UTC Date Time fields in the ISO20022 schema.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_BankStmtISONumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number:Numeric (number) fields in the ISO20022 schema. We've taken the maximum text size so as to be able to accommodate fields from non ISO formats as well.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStatementNameText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Text fields in the ISO20022 schema. We've taken the maximum text size so as to be able to accommodate fields from non ISO formats as well.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="140" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStmtISOCurrencyCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Currency:Currency-Code fields in the ISO20022 schema.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStmtISODecimal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Decimals:Decimal fields in the ISO20022 schema.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AccountingDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Accounting date:Transaction date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyBankAccountId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank account:Bank account number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BankStatementType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Reconciliation" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankIBAN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">IBAN:International bank account number. maximum of 34 alphanumeric characters.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="35" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStatementId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Statement ID:Unique key, allocated to importing a bank statement if it has not a statement ID specified.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="35" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStatementManual">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Manual:The statement is manually input.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Posted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posted:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankRegNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Routing number:Routing number of the bank.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="12" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BankStatementStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Open" />
      <xs:enumeration value="Validated" />
      <xs:enumeration value="InMatch" />
      <xs:enumeration value="Reconciled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SWIFTNo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">SWIFT code:SWIFT code, also known as BIC (Bank Identifier Code).</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStatementValidatedBy">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Validated by:The user who run and complete the validation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="8" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStatementAmountDrCrIndicator">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Direction:Indicate the balance direction, debit or credit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Credit" />
      <xs:enumeration value="Debit" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BankStatementBalanceType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Balance type:Balance type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Opening" />
      <xs:enumeration value="Closing" />
      <xs:enumeration value="NetAmount" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ExchRate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exchange rate:Specify the cost in the foreign currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="12" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BankStatementLineStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Booked" />
      <xs:enumeration value="Information" />
      <xs:enumeration value="Pending" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_BankStatementBookingDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Booking date:The date that transaction occurred.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_BankStatementReconciled">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reconciled:The statement is fully reconciled.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_BankStmtISOCurrencyCode_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_BankStmtISOCurrencyCode tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMVersionActive">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Active:Is this version active?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMVersionApproved">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Approved:Is the version approved?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">BOM:BOM identification</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMRouteVersionConstruction">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Construction:The version is in the process of construction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FromDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">From date:From</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FromQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">From qty.:From</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventDimId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Dimension No.:Identification of dimensions for the item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_ItemIdProduction_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_ItemIdProduction tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemIdProduction">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item number:Identify item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWInventQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CW quantity:Catch weight quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PmfBatchSize">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Formula size:Enter formula size.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PmfBulkParent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bulk item:Designates the formula item that is included as a line in the formula which is the source of the bulk item for packing into the pack item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PmfCoByVarAllow">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Co-product variations:When checked, co-product and by-product variations are allowed.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PmfFormulaMultiple">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Formula multiple:Number of units</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PmfFormulaVersionCalculation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use for calculation:This field identifies the BOM version record that will be used for the default per series quantity on BOM lines with the same BOM ID.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PmfTotalCostAllocation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Total cost allocation:Marks a formula version for total cost allocation costing method.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PmfBOMFormula">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">BOM or formula:BOM or formula</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="BOM" />
      <xs:enumeration value="Formula" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PmfYieldPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Yield:Yield percentage of formula lines.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ToDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">To date:To</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item group:Identification of item group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventSiteId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Site:Identify the site</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BOMConsumpType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Consumption is:Consumption is</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Variable" />
      <xs:enumeration value="Constant" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Turnover qty., number of units of raw material used in the finished item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMQtySerie">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Per series:Number of units the quantity applies to</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BOMType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line type:Line type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Item" />
      <xs:enumeration value="Phantom" />
      <xs:enumeration value="PeggedSupply" />
      <xs:enumeration value="Vendor" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMCalcBOMLine">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Calculation:Include the line in BOM calculations?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ConfigGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Configuration group:Identification of the configuration group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMMeasureConstant">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Constant:Measurement turnover quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMMeasureDensity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Density:Measurement conversion factor for the density dimension.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMMeasureDepth">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Depth:Measurement conversion factor for the depth dimension.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMEndSchedConsump">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">End:Schedule planned consumption at the end of current operation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BOMFormula">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Formula:Formula</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Formula0" />
      <xs:enumeration value="Formula1" />
      <xs:enumeration value="Formula2" />
      <xs:enumeration value="Formula3" />
      <xs:enumeration value="Formula4" />
      <xs:enumeration value="Formula5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_StartDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Start date:Start date of period.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMMeasureHeight">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Height:Measurement conversion factor for the height dimension.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemBOMId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sub-BOM:BOM number for specific sub-BOM. If blank, the active number is used.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_ItemIdInventoried_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_ItemIdInventoried tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemIdInventoried">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item number:Identify item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PBAId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product model number:Product model ID</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemRouteId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Subroute:Route number for specific subroute. If blank, the active number is used.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LineNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line number:Identification of line.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_OprNumBOMLine">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Oper. No.:Operation number consuming item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PDSBaseValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Base value:Batch attribute value.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PDSIngredientType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Ingredient type:The ingredient type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Active" />
      <xs:enumeration value="Compensating" />
      <xs:enumeration value="Filler" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PDSInheritBatchAttrib">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inherit batch attributes:Indicates whether the batch attributes of the raw material will be inherited</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PDSInheritShelfLife">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inherit material shelf life:Indicates whether the shelf life dates of the raw material will be inherited</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PmfFormulaPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Percent:Percentage of formula item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PmfPlanGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Plan group:Planning group ID.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PmfPlanGroupPriority">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Priority:Planning priority</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMPosition">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Position:BOM position</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ProdFlushingPrincipBOM">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Flushing principle:Flushing principle</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Blank" />
      <xs:enumeration value="Start" />
      <xs:enumeration value="Finish" />
      <xs:enumeration value="Manual" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjSetSubProdToConsumed">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Set subproduction to Consumed:Set project posting type of subproduction to Consumed?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BOMRoundUp">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Rounding-up:Rounding-up</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Qty" />
      <xs:enumeration value="MeasureConfig" />
      <xs:enumeration value="Consumption" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMRoundUpQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Multiples:Round-up multiples</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ScrapConst">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Constant scrap:Constant scrap in BOM unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ScrapVar">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Variable scrap:Variable scrap percentage (must be specified as a percent)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EndDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">End date:End date of period.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_UnitOfMeasureSymbol_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_UnitOfMeasureSymbol tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UnitOfMeasureSymbol">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit:Unit symbol</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMMeasureWidth">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Width:Factor for the measurement dimension width.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WrkCtrConsumption">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Resource consumption:Consumption on resource</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="false" />
      <xs:enumeration value="true" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResItemConfigurationName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Configuration:Descriptive name of configuration</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventBatchId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Batch number:Batch dimension.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResItemColorName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Color:Descriptive name of color</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventGTDId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">GTD number:Customs declaration number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventLocationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Warehouse:Identify the warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventOwnerId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Owner:Inventory owner.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventProfileId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inventory profile:Inventory profile.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventSerialId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Serial number:Serial number dimension.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResItemSizeName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Size:Descriptive name of size</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResItemStyleName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Style:Descriptive name of style</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSLocationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Location:Location in a warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPalletId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Pallet ID:Unique ID for the pallet (Serial Shipping Container Code)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="18" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BudgetPlanningProcessName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Budget planning process:The descriptive name for the budget planning process</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BudgetCycleTimeSpanName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Enter a name for the budget cycle time span</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Ledger name:The name of the ledger</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_BudgetPlanningProcess">
    <xs:sequence>
      <xs:element minOccurs="1" name="Name" type="tns:AxdExtType_BudgetPlanningProcessName" />
      <xs:element minOccurs="1" name="BudgetCycle_BudgetCycleTimeSpan_Name" type="tns:AxdExtType_BudgetCycleTimeSpanName" />
      <xs:element minOccurs="1" name="BudgetCycle_BudgetCycleTimeSpan_FiscalCalendar_CalendarId" type="tns:AxdExtType_FiscalCalendarID" />
      <xs:element minOccurs="1" name="BudgetCycle_StartFiscalCalendarPeriod_FiscalCalendarYear_FiscalCalendar_CalendarId" type="tns:AxdExtType_FiscalCalendarID" />
      <xs:element minOccurs="1" name="BudgetCycle_StartFiscalCalendarPeriod_FiscalCalendarYear_Name" type="tns:AxdExtType_FiscalYearName" />
      <xs:element minOccurs="1" name="BudgetCycle_StartFiscalCalendarPeriod_Name" type="tns:AxdExtType_PeriodName" />
      <xs:element minOccurs="1" name="Ledger_Name" type="tns:AxdExtType_LedgerName" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_BudgetPlanningStageName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Budget planning stage:The name of the budget planning stage</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BudgetPlanPriorityName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Budget plan priority:The name of the budget plan priority</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BudgetPlanDocumentNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document number:The document number for the budget plan</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BudgetPlanStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document status:Document status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Draft" />
      <xs:enumeration value="Finalized" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BudgetPlanName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:A descriptive name for the budget plan</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BudgetPlanningUserGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Budget planning user group:The user group whose members have access to the budget plan</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BudgetPlanRank">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Rank:A number you can enter and then use to sort budget plans</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BudgetPlanWorkflowStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Workflow status:Workflow status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NotSubmitted" />
      <xs:enumeration value="InReview" />
      <xs:enumeration value="Approved" />
      <xs:enumeration value="Rejected" />
      <xs:enumeration value="Canceled" />
      <xs:enumeration value="PendingRejection" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BudgetClass">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Budget class:Budget class</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Expense" />
      <xs:enumeration value="Revenue" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BudgetPlanScenarioName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Budget plan scenario:The name of the budget plan scenario</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BudgetPlanComment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Comment:A brief, optional description of the budget plan line</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BudgetPlanLineEffectiveDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Effective date:The date the budget plan line takes effect</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BudgetPlanEstimateType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Budget plan estimate type:Budget plan estimate type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Monetary" />
      <xs:enumeration value="Quantity" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmPositionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Position:Unique identification of position</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BudgetPlanIsRecurring">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Is recurring:Indicates whether the budget plan line recurs each year</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdType_BudgetPlanning">
    <xs:sequence>
      <xs:element minOccurs="1" name="DisplayValue" type="xs:string" />
      <xs:element minOccurs="1" name="AccountStructure" type="xs:string" />
      <xs:element minOccurs="1" name="Values" type="tns:AxdType_DimensionAttributeValues" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_BudgetPlanCurrencyAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount:The estimated amount</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_BudgetPlanCurrencyCode_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_BudgetPlanCurrencyCode tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BudgetPlanCurrencyCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Currency:The plan estimate currency code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BudgetPlanQuantity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:The estimated quantity of units</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BudgetPlanUnitPrice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit price:The estimated price per unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BudgetModelId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Budget model:Budget model number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BudgetCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Budget code:Identification of the budget code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BudgetTransactionType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Budget type:Budget type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="OriginalBudget" />
      <xs:enumeration value="Transfer" />
      <xs:enumeration value="Amendment" />
      <xs:enumeration value="Encumbrance" />
      <xs:enumeration value="PreEncumbrance" />
      <xs:enumeration value="CarryForwardBudget" />
      <xs:enumeration value="Project" />
      <xs:enumeration value="FixedAsset" />
      <xs:enumeration value="SalesForecast" />
      <xs:enumeration value="PurchForecast" />
      <xs:enumeration value="Apportionment" />
      <xs:enumeration value="PreliminaryBudget" />
      <xs:enumeration value="FixedAsset_RU" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UserId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">User ID:ID for the user</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="8" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BudgetTransactionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Entry number:Document number for the budget register entry.  The budget register entry number sequence determines this</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BudgetTransactionStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Budget register entry status:Budget register entry status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Draft" />
      <xs:enumeration value="Completed" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BudgetTransactionWorkflowStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Workflow status:Workflow status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="NotSubmitted" />
      <xs:enumeration value="Submitted" />
      <xs:enumeration value="Approved" />
      <xs:enumeration value="Rejected" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AmountMST">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount:The transaction amount, in the accounting currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BudgetType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount type:Amount type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Expense" />
      <xs:enumeration value="Revenue" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdType_BudgetAccount">
    <xs:sequence>
      <xs:element minOccurs="1" name="DisplayValue" type="xs:string" />
      <xs:element minOccurs="1" name="AccountStructure" type="xs:string" />
      <xs:element minOccurs="1" name="Values" type="tns:AxdType_DimensionAttributeValues" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_Price">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price:Run-dependent price per unit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax group:A group of sales tax codes for calculating taxes on a sale or purchase</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CaseCategory">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Case category:The category that the case is assigned to</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CaseProcess">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Case process:The defined process that the case will follow</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SysEmailId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">E-mail ID:E-mail message ID</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_KMCollectionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Questionnaire:Identification of the questionnaire.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAServiceLevelAgreementId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service level agreement:Identification of the service level agreement.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_smmCreateActivity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Create activity:Create activity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Yes" />
      <xs:enumeration value="No" />
      <xs:enumeration value="Prompt" />
      <xs:enumeration value="AdvancedPrompt" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_smmActivityCategory">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Category:Category</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Appointment" />
      <xs:enumeration value="Task" />
      <xs:enumeration value="Action" />
      <xs:enumeration value="Event" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmActivityPurpose">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purpose:The purpose of the activity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmActivityTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:The activity type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmActivityPhaseId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Phase:The activity phase</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CaseCategoryType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Category type:Category type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="General" />
      <xs:enumeration value="Sales" />
      <xs:enumeration value="Purchase" />
      <xs:enumeration value="Service" />
      <xs:enumeration value="Project" />
      <xs:enumeration value="Production" />
      <xs:enumeration value="Collections" />
      <xs:enumeration value="Audit" />
      <xs:enumeration value="Web" />
      <xs:enumeration value="HumanResources" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HierarchyPath">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Path:A fully qualified path of a node in a hierarchy tree</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CaseId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Case ID:The identification number assigned to the case</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CaseStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Planned" />
      <xs:enumeration value="InProcess" />
      <xs:enumeration value="Closed" />
      <xs:enumeration value="Cancelled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmLeadPriority">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Priority:The priority of the lead record</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Notes">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Note:Enter an optional comment about this record</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SysUserId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">User ID:User ID in the Microsoft Dynamics AX system</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="8" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_CaseCategoryHierarchyDetail">
    <xs:sequence>
      <xs:element minOccurs="1" name="CategoryType" type="tns:AxdEnum_CaseCategoryType" />
      <xs:element minOccurs="1" name="CaseCategory" type="tns:AxdExtType_CaseCategory" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdExtType_ClosedDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Closed time:Date for ending action</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_ContactPersonId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Contact ID:The contact identification number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CaseInstanceRelationType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Instance relation type:Instance relation type of the Case table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_KMVirtualNetworkAnswerTableId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Answer:Identify a planned or answered questionnaire</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAStageId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service stage:Service order stage</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SMALogStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Open" />
      <xs:enumeration value="Closed" />
      <xs:enumeration value="Cancel" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAServiceLevelAgreementCompliance">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Compliance:Duration expressed in percentages of the actual work compared to the limit of the service level agreement.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:complexType name="AxdExtType_SMALatestCompletionDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Latest completion time:Latest time for completion of the service level agreement.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_CaseResolutionType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Resolution:Resolution</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Accept" />
      <xs:enumeration value="Reject" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Email">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">E-mail:Internet e-mail address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="80" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FirstName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">First name:Specify the first name of the person</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LastName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Last name:Specify the last name of the person</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MiddleName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Middle name:Specify the middle name of the person</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Phone">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Telephone:Telephone number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CaseWebDetailCustAccNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer account number:Customer account number entered in web details of case</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RefTableId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference table ID:Table the transaction refers to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DocuTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Identification of document type.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SelectableDataArea">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Company:ID for the company you can select</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_DocuRestriction">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Restriction:Restriction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Internal" />
      <xs:enumeration value="External" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmEncyclopediaItemId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Knowledge article item ID:The knowledge article identification reference</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CatProductActionType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Action type:Action type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="AllItems" />
      <xs:enumeration value="Add" />
      <xs:enumeration value="Update" />
      <xs:enumeration value="Delete" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemBarCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bar code:Bar code digits</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="80" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResColorName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Color:Descriptive name of color</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResConfigurationName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Configuration:Descriptive name of configuration</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResProductDimensionGroupName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Identification of product dimension group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_EcoResProductSubtype">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product subtype:Product subtype</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Product" />
      <xs:enumeration value="ProductMaster" />
      <xs:enumeration value="ProductVariant" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResProductSearchName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Search name:Specify text for fast search</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResSizeName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Size:Descriptive name of size</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CatVendorProductStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product status:Product status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NotSubmitted" />
      <xs:enumeration value="Submitted" />
      <xs:enumeration value="Approved" />
      <xs:enumeration value="Rejected" />
      <xs:enumeration value="Canceled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResStyleName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Style:Descriptive name of style</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResProductDisplayProductNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product number:Identification of the product</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="70" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QtyHighest">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Max. order quantity:Maximum quantity applying to item transactions</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LeadTimePurchDefault">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase lead time:Default lead time or lead time in number of days</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QtyLowest">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Min. order quantity:Minimum quantity applying to item transactions</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QtyMultiples">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Multiple:Multiples quantity during packing or production</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QtyStandard">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Standard order quantity:Standard order quantity applying to item transactions</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RelationType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Relation type field:Immediate derived table in table inheritance.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AttributeValueBoolean">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Boolean:The value of the Boolean data type for the attributes</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_AttributeValueDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">DateTime:The value of the DateTime data type for the attributes</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_SysInt64">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Integer:Integer value</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AttributeValueFloat">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Float:The value of the Float data type for the attributes</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AttributeValueInt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Integer value:The value of the Integer data type for the attributes</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LanguageId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Language:Select the language for the current text.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="7" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AttributeValueText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Text:The value of the Text data type for the attributes</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="1999" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AttributeValueCurrency">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Currency:The value of the currency data type for the attributes</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CatVendorCatalogDescription">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Catalog description</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="1024" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LanguageIdAll">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Language:Select the language for the current text.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="7" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CatVendorProductCandidateName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product name:Name of the product</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_AxdValidTimeStateType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="AsOf" />
      <xs:enumeration value="Range" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_CustAccount_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_CustAccount tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer account:Customer account number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Block">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Block:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CustCollectionLetterCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Collection letter code:Collection letter code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="CollectionLetter1" />
      <xs:enumeration value="CollectionLetter2" />
      <xs:enumeration value="CollectionLetter3" />
      <xs:enumeration value="CollectionLetter4" />
      <xs:enumeration value="Collection" />
      <xs:enumeration value="All" />
      <xs:enumeration value="CollectionPerCust" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CollectionLetterNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Collection letter:Number of the current collection letter</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_CustCurrencyCode_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_CustCurrencyCode tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustCurrencyCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Currency:Current currency code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BillingClassification">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Billing classification:The name of the billing classification</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DueDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Due date:Due date of the transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsElectronicAddressLocator">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Contact number/address:Communication address value.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymentStubCollectionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Associated payment attachment on collection letter:Print associated payment attachment for the collection letter?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="FIK" />
      <xs:enumeration value="BBS" />
      <xs:enumeration value="ESR_blue_PTT" />
      <xs:enumeration value="ESR_red_bank" />
      <xs:enumeration value="FIK762" />
      <xs:enumeration value="ESR_orange" />
      <xs:enumeration value="BelSMS101" />
      <xs:enumeration value="BelSMS102" />
      <xs:enumeration value="Finnish" />
      <xs:enumeration value="FIK751" />
      <xs:enumeration value="FIK752" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustLanguageId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Language:Select the language for the current text.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="7" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_NumberSequenceCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number sequence code:Current number sequence code to be used with references.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_NumberSequenceTable">
    <xs:sequence>
      <xs:element minOccurs="1" name="NumberSequence" type="tns:AxdExtType_NumberSequenceCode" />
      <xs:element minOccurs="0" name="NumberSequenceScope_DataArea" nillable="true" type="tns:AxdExtType_SelectableDataArea" />
      <xs:element minOccurs="0" name="NumberSequenceScope_LegalEntity_DataArea" nillable="true" type="tns:AxdExtType_SelectableDataArea" />
      <xs:element minOccurs="0" name="NumberSequenceScope_OperatingUnit_PartyNumber" nillable="true" type="tns:AxdExtType_DirPartyNumber" />
      <xs:element minOccurs="0" name="NumberSequenceScope_FiscalCalendarPeriod_FiscalCalendarYear_FiscalCalendar_CalendarId" nillable="true" type="tns:AxdExtType_FiscalCalendarID" />
      <xs:element minOccurs="0" name="NumberSequenceScope_FiscalCalendarPeriod_FiscalCalendarYear_Name" nillable="true" type="tns:AxdExtType_FiscalYearName" />
      <xs:element minOccurs="0" name="NumberSequenceScope_FiscalCalendarPeriod_Name" nillable="true" type="tns:AxdExtType_PeriodName" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_PaymId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment ID:Payment identification used upon payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="200" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymTermId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Terms of payment:Code for the terms of payment</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPostingProfile">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posting profile:Posting profile being processed.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PrintPostCancel">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Created" />
      <xs:enumeration value="Posted" />
      <xs:enumeration value="Canceled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax amount:Calculated sales tax amount.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxItemGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item sales tax group:Group of sales tax codes that can be calculated for an item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxWriteCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Print code:Code printed on the voucher.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CollectionLetterIssued">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Issue collection letter:Generate collection letter for transaction?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustTransRefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Fee">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fee:Charge fee?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InvoiceId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice:Identification of the invoice.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TransTxt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Text describing the transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxExemptCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exempt code:Code for justification of sales tax exemption.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxExemptTax">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exempt:Specifies that sales tax is not to be calculated.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_GSTHSTTaxType_CA">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">GST/HST:GST/HST</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Rebates111" />
      <xs:enumeration value="TaxOnAcquisition205" />
      <xs:enumeration value="SelfAssessment405" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxIntracomVAT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Intra-community VAT:The transaction belongs to intra-community VAT.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Lot ID:Identification of the item lot.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerJournalId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Journal batch number:Ledger - journal batch number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CzPostponeVAT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Postponed VAT:Postpone VAT reporting.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReverseChargeApplies_UK">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reverse charge applicable:Is reverse charge applicable?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxModuleTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Source:Module which sales tax is attached to</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Sales" />
      <xs:enumeration value="Purch" />
      <xs:enumeration value="Voucher" />
      <xs:enumeration value="SalesInvoice" />
      <xs:enumeration value="PurchInvoice" />
      <xs:enumeration value="FreeTxtInvoice" />
      <xs:enumeration value="CustCollectionLetter" />
      <xs:enumeration value="Tax" />
      <xs:enumeration value="CustInterestNote" />
      <xs:enumeration value="Project" />
      <xs:enumeration value="ProjectInvoice" />
      <xs:enumeration value="BankAccountReconcile" />
      <xs:enumeration value="Inventory_IN" />
      <xs:enumeration value="TaxWithhold_IN" />
      <xs:enumeration value="StockTransfer_IN" />
      <xs:enumeration value="IncomingVATProcessing_RU" />
      <xs:enumeration value="Retail" />
      <xs:enumeration value="OutgoingVATProcessing_RU" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxBaseCur">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount origin:Original amount on which sales tax calculation is based. Shown in the current currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxRegulationAmountCur">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Corrected amount in currency:Amount that the sales tax is being adjusted to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxAmountCur">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax amount:Calculated sales tax amount in the sales tax settlement currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailStatementId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Statement number:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxAutoGenerated">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Auto:Sales tax is automatically calculated or specified by user.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxBase">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Origin:Original amount that the sales tax is calculated from.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Quantity that the calculation of sales tax is based on</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxBookId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax book:Sales tax book ID used when posting to sales tax book sections.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxBookSectionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax book section:Sales tax book section storing the transactions.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax code:Code that identifies the sales tax.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TaxDirection">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax direction:Sales tax direction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="IncomingTax" />
      <xs:enumeration value="OutgoingTax" />
      <xs:enumeration value="UseTax" />
      <xs:enumeration value="TaxExemptPurchase" />
      <xs:enumeration value="TaxExemptSales" />
      <xs:enumeration value="TaxTransaction" />
      <xs:enumeration value="MajorExporterScheme_SG" />
      <xs:enumeration value="IncomingTax_W" />
      <xs:enumeration value="OutgoingTax_W" />
      <xs:enumeration value="VATTaxAgentCharged_RU" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxJurisdictionCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax jurisdiction code:The unique identifier for the sales tax jurisdiction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TaxOrigin">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Origin:Origin</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Tax" />
      <xs:enumeration value="TaxReporting" />
      <xs:enumeration value="CashDisc" />
      <xs:enumeration value="TaxReversed" />
      <xs:enumeration value="Transfer" />
      <xs:enumeration value="Payment" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxPeriod">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Settlement period:Code name to be used when identifying the sales tax settlement periods</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TaxPrintDetail">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Print:Print</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="TaxCode" />
      <xs:enumeration value="TaxGroup" />
      <xs:enumeration value="NoDetail" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxVersion">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Version:Report version.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TaxType_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax type:Tax type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Blank" />
      <xs:enumeration value="ISR" />
      <xs:enumeration value="IVA" />
      <xs:enumeration value="IEPS" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Value:Percentage or amount per unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CustAccountStatement">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Account statement:Account statement</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Always" />
      <xs:enumeration value="Quarter" />
      <xs:enumeration value="Biannually" />
      <xs:enumeration value="Yearly" />
      <xs:enumeration value="Never" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AgencyLocationCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Agency location code:Enter an agency location code for this customer. This number must be 11 to 12 digits long.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="12" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustBankAccountId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank account:Identification of customer's bank account.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankCentralBankPurposeCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Central bank purpose code:Code used when reporting to the central bank.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankCentralBankPurposeText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purpose text:Describe code used when reporting to the central bank.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="140" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankCustPaymIdType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment ID type:Payment ID type to define the content of the payment ID</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressCountyCode_IT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Italian county code:Specify the two-letter county code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BirthDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Birth date:Employee's birth date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressCity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">City:City for ZIP/postal code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustBlocked">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoicing and delivery on hold:View whether invoicing or deliveries have been placed on hold for the selected record</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Invoice" />
      <xs:enumeration value="All" />
      <xs:enumeration value="Payment" />
      <xs:enumeration value="Requisition" />
      <xs:enumeration value="Never" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustCashDiscCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash discount:Cash discount code for subsequent approval.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CashDiscBaseDays">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment terms base days:The number of days that will be added to the document date when calculating discounts and due dates</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CCMNum_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CCM:Company's registration number for the city.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustClearingPeriod">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Settle period:Terms of payment for period from due date to payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CNAE_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CNAE:National classification of company economic activity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CNPJCPFNum_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CNPJ/CPF:National company number/National person number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CommercialRegister">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Kept at commercial register:Enter the name of the commercial register</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="40" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CommercialRegisterInsetNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inset number:Enter the inset number in the commercial register</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CommercialRegisterSection">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Section of commercial register:Enter the section of the commercial register</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CommissCustomerGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Commission customer group:Identification of the commission customer group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmChainId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Chain:Chain which the company is a member of</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyIdSiret">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">French Siret:Siret number of the company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="14" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyIdNAF">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">NAF code:NAF code of the company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CompanyType_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Company type:Company type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Blank" />
      <xs:enumeration value="LegalEntity" />
      <xs:enumeration value="LegalPerson" />
      <xs:enumeration value="ForeignCompany" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustConsDay_JP">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Consolidation day:Enter the consolidation day to consolidate sales orders for a customer.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CreditCardAddressVerification">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Address verification:Address verification</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CreditCardAddressVerificationLevel">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Address verification status required to accept transactions:Address verification status required to accept transactions</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Accept" />
      <xs:enumeration value="AccountHolderName" />
      <xs:enumeration value="BillingPostalCode" />
      <xs:enumeration value="BillingAddress" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CreditCardAddressVerificationVoid">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Void transaction when no results are available:If selected, the transaction is voided when no address verification results are available</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CreditCardCVC">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Prompt for card verification value:Prompt for card verification value</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustCreditMaxMST">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Credit limit:The customer's credit limit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustCreditRating">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Credit rating:The customer's credit rating</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Curp_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CURP number:CURP - Federal Tax Number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="18" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustClassificationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer classification group:Specify customer classification groups.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustExcludeCollectionFee">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exclude collection fees:If selected, collection fees will not be calculated for this customer</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustExcludeInterestCharges">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exclude interest charges:If selected, interest charges will not be calculated for this customer</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustVendFinalUser_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Final user:Is this a "customer final user" or "vendor for used and consumption”?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer group:Group of customers.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustItemGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item - customer group:Customer group for external item descriptions</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TradingPartnerCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Trading partner code:A trading partner code to be assigned to customers. This code must be two to four characters long.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdType_DimensionAttributeValueSet">
    <xs:sequence>
      <xs:element minOccurs="1" name="Values" type="tns:AxdType_DimensionAttributeValues" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_CustDestinationCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Destination code:The customer's destination code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_CustDlvModeId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_CustDlvModeId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustDlvModeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mode of delivery:The means by which the order will be delivered</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DlvReasonId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery reason:Unique identification of delivery reasons</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_CustDlvTermId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_CustDlvTermId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustDlvTermId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery terms:Unique identification of delivery terms</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EinvoiceEANNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">EAN:EAN number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="13" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustEndDiscCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Total discount group:Specifies total order discount group of customer/order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EnterpriseCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Enterprise code:Enter the enterprise code of the company</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxEnterpriseNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Enterprise number:Enterprise number used to identify Belgian companies.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PlExportSales">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Export sale:Is it an export sale?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankCustFactoringAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Factoring account:Customer account number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FederalComments">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Comments:Enter an optional comment about this customer</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_FederalNonFederalIndicatorCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Federal/Non-Federal indicator:Federal/Non-Federal indicator</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Federal" />
      <xs:enumeration value="NonFederal" />
      <xs:enumeration value="NonFederalException" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustFineCode_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fine code:Code that defines the fine rates and terms.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FiscalCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fiscal code:The fiscal code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="16" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PlFiscalDocType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Printed document:Printed document</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Invoice" />
      <xs:enumeration value="FiscalDocument" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ForecastDMPInclude">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Demand planning:Include in demand planning.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ForeignResident_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Foreign counteragent:Foreign counteragent flag.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustFreightZoneId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">UPS zone:The UPS zone for the customer</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_GenerateIncomingFiscalDocument_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Generate incoming fiscal document:Generate and print an entrance fiscal document at customer invoice posting</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymentStubInvoiceId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Associated payment attachment on customer invoice:Print associated payment attachment for customer invoice?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="FIK" />
      <xs:enumeration value="BBS" />
      <xs:enumeration value="ESR_blue_PTT" />
      <xs:enumeration value="ESR_red_bank" />
      <xs:enumeration value="FIK762" />
      <xs:enumeration value="ESR_orange" />
      <xs:enumeration value="BelSMS101" />
      <xs:enumeration value="BelSMS102" />
      <xs:enumeration value="Finnish" />
      <xs:enumeration value="FIK751" />
      <xs:enumeration value="FIK752" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymentStubAccountStatementId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Associated payment attachment on account statement:Print associated payment attachment for the account statement?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="FIK" />
      <xs:enumeration value="BBS" />
      <xs:enumeration value="ESR_blue_PTT" />
      <xs:enumeration value="ESR_red_bank" />
      <xs:enumeration value="FIK762" />
      <xs:enumeration value="ESR_orange" />
      <xs:enumeration value="BelSMS101" />
      <xs:enumeration value="BelSMS102" />
      <xs:enumeration value="Finnish" />
      <xs:enumeration value="FIK751" />
      <xs:enumeration value="FIK752" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymentStubInterestId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Associated payment attachment on interest note:Print associated payment attachment for interest note?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="FIK" />
      <xs:enumeration value="BBS" />
      <xs:enumeration value="ESR_blue_PTT" />
      <xs:enumeration value="ESR_red_bank" />
      <xs:enumeration value="FIK762" />
      <xs:enumeration value="ESR_orange" />
      <xs:enumeration value="BelSMS101" />
      <xs:enumeration value="BelSMS102" />
      <xs:enumeration value="Finnish" />
      <xs:enumeration value="FIK751" />
      <xs:enumeration value="FIK752" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymentStubProjId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Associated payment attachment on the project invoice:Print associated payment attachment for project invoice and project on account invoice?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="FIK" />
      <xs:enumeration value="BBS" />
      <xs:enumeration value="ESR_blue_PTT" />
      <xs:enumeration value="ESR_red_bank" />
      <xs:enumeration value="FIK762" />
      <xs:enumeration value="ESR_orange" />
      <xs:enumeration value="BelSMS101" />
      <xs:enumeration value="BelSMS102" />
      <xs:enumeration value="Finnish" />
      <xs:enumeration value="FIK751" />
      <xs:enumeration value="FIK752" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ICMSContributor_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ICMS contributor:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustIdentificationNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ID number:An identifying number. For a person, the number is a driver's license number or another government-issued ID number. For an organization, the number is an employer identification number or another unique ID number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IENum_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">IE:State number of the company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InclTax">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Prices include sales tax:Do prices include sales tax?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_INSSCEI_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">INSS-CEI:Brazilian Security Institute number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyAllowIndirectCreation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Allow indirect creation:Allow indirect order line creation when the original sales order is a direct delivery.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyAutoCreateOrders">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Autocreate intercompany orders:Autocreate intercompany orders when you leave the sales order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyDirectDelivery">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Direct delivery:Deliver directly to the customer and synchronize the delivery information to the intercompany orders.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustInterestCode_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Interest code:Code that defines the interest rates and terms.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventProfileType_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Kind of activity:Kind of activity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NotSpecified" />
      <xs:enumeration value="General" />
      <xs:enumeration value="CommissionAgent" />
      <xs:enumeration value="CommissionPrincipalAgent" />
      <xs:enumeration value="Bailee" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_CustInvoiceAccount_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_CustInvoiceAccount tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustInvoiceAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice account:Customer account number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustInvoiceAddress">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice address:The account that contains the address assigned to receive posted invoices</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="InvoiceAccount" />
      <xs:enumeration value="OrderAccount" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SalesInvoicePostingType_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posting type:Posting type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Standard" />
      <xs:enumeration value="GoodsInRoute" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressCountryRegionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Country/region:Specifies default native country/region in connection with addresses</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustLineDiscCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line discount group:Unique identification of line discount</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustLineOfBusinessId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line of business:The line of business in which the vendor operates</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LvPaymCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment transaction code:Default payment transaction code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MandatoryCreditLimit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mandatory credit limit:Indicate error when exceeding credit limit?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PlMandatoryVatDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">VAT date is required:Select the check box if the VAT date is required. Or, you can enter the VAT date in the Posted sales tax form.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustMarkupGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Charges group:Charges group that the customer is attached to</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmBusRelMemo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Note:The memo field is to record general notes about a phone call.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustMultiLineDiscCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Multiline disc. group:Specifies multiline discount group of customer/sales order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_NIT_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">NIT:Worker identification number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="14" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_NumberSequenceGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number sequence group:Group for allocation of different number sequences to different customers/vendors.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_OneTimeCustomer">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">One-time customer:A selected check box indicates that this is a one-time customer</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventOrderEntryDeadlineGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Order entry deadline group:Name of the order entry deadline group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_OrgId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">National Registry number:The ID number used by the Icelandic government to identify individuals and organizations</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustAccountExt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Our account number:Our account number with customer.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PlPackageDepositExcempt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Deposit exempt:Is the client exempt from deposit fee?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventPackingMaterialFeeLicenseNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Packing material fee license number:Packing material fee license number from the recycling company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressStateId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">State/province:Identification of state</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PassportNo_HU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Passport number:Specify passport number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="13" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPaymDayId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment day:Identification of payment days</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPaymReference_EE">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment reference:Reference to a specific payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPaymMode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Method of payment:Identification of the customer method of payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymSchedId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment schedule:Payment schedule to be used when invoicing.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymSpec">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment specification:Specify payment handling for the current method of payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPaymTermId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Terms of payment:Code for the terms of payment</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PBACustGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product model group:Identification of the customer product model group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCustRebateGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer rebate group:Group of customer for which a rebate is applicable.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsFreightAccrued">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Freight accrual:Set if the customer can used freight rebate programs.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsRebateProgramTMAGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer TMA group:Customer TMA group ID.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPriceGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price group:Specifies customer/sales-order price group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyRegNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Routing number:Company ID number used when reporting to the authorities.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Rfc_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">RFC number:RFC - Federal Tax Number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="13" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RFIDCaseTagging">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Case tagging:Is case tagging mandatory?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RFIDItemTagging">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item tagging:Is item tagging mandatory?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RFIDPalletTagging">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Pallet tagging:Is pallet tagging mandatory?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesCalendarId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Receipt calendar:Days that customers can receive their orders</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmSalesDistrictId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales district:Sales district that prospect is attached to</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CommissSalesGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales group:Commission sales group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustSalesPoolId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales order pool:Specify the sales order pool sales orders from customers are to be placed in</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmSegmentId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Segment:Segment assigned to prospect</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxServiceCodeOnDlvAddress_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service on delivery address:Specifies service codes and IBGE city code is based on delivery address city</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Carrier account number:Account number that is invoiced by the carrier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierAccountCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Account code:Account code to identify the carrier account number that will be used to bill the company</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierBlindShipment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Blind shipment:If selected, the return address and logo are not printed on the packing slip or invoice</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierFuelSurcharge">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Charge fuel surcharge:If selected, a fuel surcharge will be added to the shipping charges</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Carrier ID:Identification of the carrier service, assigned by the shipping carrier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_StateInscription_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">State inscription:State inscription number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustStatGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Statistics group:The statistics group for the customer record</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmSubsegmentId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Subsegment:Subsegment for assignment to prospect (for selected segment)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustSuframa_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">SUFRAMA:SUFRAMA region</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustSuframaNumber_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">SUFRAMA number:SUFRAMA number of the customer.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustSuppItemGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Supplementary item:The supplementary item group that the customer is assigned to</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SyncEntityId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Entity ID:Unique identifier of an entity instance</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_GUID" />
  </xs:simpleType>
  <xs:simpleType name="AxdType_GUID">
    <xs:restriction base="xs:string">
      <xs:minLength value="38" />
      <xs:maxLength value="38" />
      <xs:pattern value="({[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}})" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SyncVersion">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Version:Version of an entity. This is a sequential number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxBorderNumber_FI">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax border number:Tax border number is required for customer invoices.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxPackagingLicenseNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Packing duty license number:The customer's packing duty license number that is listed with the sales tax authority</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PlTaxPeriodPaymentCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">VAT report date code:Enter a time period code for VAT transactions</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxWithholdCalculate_TH">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Calculate withholding tax:Shall withholding tax be calculated for vendor payment transactions in journals?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxWithholdGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Withholding tax group:Identification of the withholding tax group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UnitedVATInvoice_LT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">United VAT invoice:Flag indicating united VAT invoice.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_UseCashDisc">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use cash discount:Use cash discount</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Normal" />
      <xs:enumeration value="Always" />
      <xs:enumeration value="Never" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailUsePurchRequest">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase request required:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VATNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax exempt number:Tax exempt identification number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ECPsalesOrdersViewType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">History available:History available</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="WebEntered" />
      <xs:enumeration value="All" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ValidTimeStateUpdate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="CreateNewTimePeriod" />
      <xs:enumeration value="Correction" />
      <xs:enumeration value="EffectiveBased" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressing">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Address:View the formatted information for the address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="250" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressBuildingCompliment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Building complement:The building name for an address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressCity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">City:City for ZIP/postal code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_LogisticsAddressCountryRegionId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_LogisticsAddressCountryRegionId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressCountryRegionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Country/region:Specifies default native country/region in connection with addresses</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_LogisticsAddressCountyId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_LogisticsAddressCountyId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressCountyId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">County:Specifies a county within a state in the current country/region</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressDistrictRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">District:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressDistrictName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">District:Name of a district</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressFlatId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Group of flats:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressHouseId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Group of houses:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPartyIsLocationOwner">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Location owner:The party is the location owner.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressCountryRegionISOCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ISO:ISO country/region code for Intrastat</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsIsPrimaryAddress">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Primary:The address is the primary address for the party record.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsIsPrivate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Private:Location is private.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressLatitude">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Latitude:Latitude value for the address.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressLongitude">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Longitude:Longitude value for address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressPostBox">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Post box:The post box for an address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPartyLocationRoleNames">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purpose:Location role name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_LogisticsAddressStateId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_LogisticsAddressStateId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressStateId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">State:Identification of state</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressStreet">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Street:Enter the street of the address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="250" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressStreetID_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Street code:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressStreetNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Street number:The street number for an address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_EffectiveDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Effective::The effective date and time for record</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="AxdExtType_ExpirationDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expiration::The expiration date and time for record</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdUnion_AxdExtType_LogisticsAddressZipCodeId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_LogisticsAddressZipCodeId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressZipCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ZIP/postal code:Identify ZIP/postal code district</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_NameAlias">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Search name:Specify text for fast search</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsLocationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Location ID:ID for location</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsElectronicAddressRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Electronic address:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsDunsNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">DUNS number:The unique identification number assigned to the customer's company or organization.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="9" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_OMInternalOrganizationType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Organization type:Organization type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="LegalEntity" />
      <xs:enumeration value="OperatingUnit" />
      <xs:enumeration value="Team" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AccountingPersonnel_JP">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Accounting personnel:The name of the accounting personnel.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyActivityCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Activity code:ID code of the financial activity group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="9" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressFormatId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Address format:An address format to be used in address records</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyBranchId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Branch/Subsidiary:Identification of branch/subsidiary.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxBranchNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Branch number:Identification of a company unit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="13" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyBusinessActivityZakat_SA">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Business activity::Main business activity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyBusinessActivityDescZakat_SA">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Business activity description::Brief description of activity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BusinessNumber_CA">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Registration number:Specify registration number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="9" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyRegComFR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Commerce registration:Commerce registration number of the company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyRepresentative_JP">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Company representative:The name of the company representative.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyCoRegNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax registration number:Company tax registration number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustomsCustomerNumber_FI">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customs customer number:Customer number for customs purposes.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustomsLicenseNumber_FI">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Domestic customs license number:Domestic license number for customs purposes.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DBA">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">DBA:Doing business as</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyDVRid">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">DVR:Data processing registration number of company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FICreditorID_DK">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">FI-Creditor ID:FI-Creditor ID is obtained in a DK financial institution and relates money transfers to a specific company and the financial institution chosen by the company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="8" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyFileNumZakat_SA">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Zakat file number:Company's file number with DZIT.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IVACode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax exemption number:Tax exemption number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="11" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Tax1099ForeignEntityIndicator">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Foreign entity indicator:Select whether the company is owned by an entity outside of the United States.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_GiroNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank giro number:The account number that is assigned by the bank</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="35" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_GiroContractNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">BESR ID number:ESR contract number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_GiroContractAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ESR:ESR account number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="11" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatExternalCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Intrastat code:Code used for reporting to the authorities.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IssuingSignature_IT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Issuing signature:Enter company signature for remittance.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ParametersKey">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ID:Unique identification</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Tax1099LastFilingIndicator">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Last filing indicator:Select Yes if this is the last year that this payer's name and TIN will be used to file information returns to the IRS.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyLegalFormFR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Legal form:Legal form of the company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="100" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LegalNature_IT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Legal nature:Legal nature</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="LN1" />
      <xs:enumeration value="LN2" />
      <xs:enumeration value="LN3" />
      <xs:enumeration value="LN4" />
      <xs:enumeration value="LN5" />
      <xs:enumeration value="LN6" />
      <xs:enumeration value="LN7" />
      <xs:enumeration value="LN8" />
      <xs:enumeration value="LN9" />
      <xs:enumeration value="LN10" />
      <xs:enumeration value="LN11" />
      <xs:enumeration value="LN12" />
      <xs:enumeration value="LN13" />
      <xs:enumeration value="LN14" />
      <xs:enumeration value="LN15" />
      <xs:enumeration value="LN16" />
      <xs:enumeration value="LN17" />
      <xs:enumeration value="LN18" />
      <xs:enumeration value="LN19" />
      <xs:enumeration value="LN20" />
      <xs:enumeration value="LN21" />
      <xs:enumeration value="LN22" />
      <xs:enumeration value="LN23" />
      <xs:enumeration value="LN24" />
      <xs:enumeration value="LN25" />
      <xs:enumeration value="LN26" />
      <xs:enumeration value="LN27" />
      <xs:enumeration value="LN28" />
      <xs:enumeration value="LN29" />
      <xs:enumeration value="LN50" />
      <xs:enumeration value="LN51" />
      <xs:enumeration value="LN52" />
      <xs:enumeration value="LN53" />
      <xs:enumeration value="LN54" />
      <xs:enumeration value="LN55" />
      <xs:enumeration value="LN56" />
      <xs:enumeration value="LN57" />
      <xs:enumeration value="LN58" />
      <xs:enumeration value="LN30" />
      <xs:enumeration value="LN31" />
      <xs:enumeration value="LN32" />
      <xs:enumeration value="LN33" />
      <xs:enumeration value="LN34" />
      <xs:enumeration value="LN35" />
      <xs:enumeration value="LN36" />
      <xs:enumeration value="LN37" />
      <xs:enumeration value="LN38" />
      <xs:enumeration value="LN39" />
      <xs:enumeration value="LN40" />
      <xs:enumeration value="LN41" />
      <xs:enumeration value="LN42" />
      <xs:enumeration value="LN43" />
      <xs:enumeration value="LN44" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LegalRepresentativeName_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Legal representative:Legal representative name</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_NameControl">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name control:Name control from 1099 mail label.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymInstructionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment instruction code:Code which is used in the SWIFT message for foreign banks.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymRoutingDNB">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">DNB Routing number:A registration number from the DNB (Netherlands Central Bank) for categorizing foreign payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="8" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymTraderNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Trader number:Indication code from the DNB (Netherlands Central Bank) for transit traders.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Company name:Specify name of the company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyShippingCalendarId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Shipping calendar:Shipping calendar that represents possible shipping days</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanySIACode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">SIA code:Code assigned by SIA to the company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SoftwareIdentificationCode_CA">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Software identification code:Specify software identification code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="8" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Tax1099RegNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Federal tax ID:Registration number with federal authorities for 1099 reporting.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="11" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxAuthority">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Authority:Account number of sales tax authority.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxRepresentative">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax representative:Specifies tax representative used as supplier of data for electronic tax document.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="45" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TCC">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">TCC:Transmitter control code assigned by IRS/MCC.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FilePath">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Directory:File path and name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="259" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UPSNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery number:Company's number with the mail delivery service used.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Addressing">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Address:View the formatted information for the address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="250" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressApartment_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Apartment:Apartment number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressBuilding_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Building:Building number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressCityRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">City:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressLatitude">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Latitude:Latitude value for the address.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressLongitude">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Longitude:Longitude value for address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressStreet">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Street :Enter the street of the address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="250" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressZipCodeRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ZIP/postal code:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PersonName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name of person:Name of the person.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CreditCardExpiryDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expiration date:Formatted as mm/yy</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="7" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CreditCardNotes">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Credit card note:Any notes that attached to the credit card</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="254" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CreditCardNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Credit card number:Credit card number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CreditCardPaymentCardToken">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Credit card token:Encrypted credit card information.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CreditCardProcessorsId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Processor:Identifies a credit card processor</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CreditCardTypeName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Credit card type:Type of credit card</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsCountryRegionCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">International calling code:Phone country/region code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PhoneLocal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Extension:Employee's extension at work.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LogisticsElectronicAddressMethodType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Phone" />
      <xs:enumeration value="Email" />
      <xs:enumeration value="URL" />
      <xs:enumeration value="Telex" />
      <xs:enumeration value="Fax" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Integer">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Integer:Integer.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Day">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Day:Day of year</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_MonthsOfYear">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Month:Month</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="January" />
      <xs:enumeration value="February" />
      <xs:enumeration value="March" />
      <xs:enumeration value="April" />
      <xs:enumeration value="May" />
      <xs:enumeration value="June" />
      <xs:enumeration value="July" />
      <xs:enumeration value="August" />
      <xs:enumeration value="September" />
      <xs:enumeration value="October" />
      <xs:enumeration value="November" />
      <xs:enumeration value="December" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPersonChildrenNames">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Children:The names of the person's children</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="150" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_Gender">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Gender:Gender</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Unknown" />
      <xs:enumeration value="Male" />
      <xs:enumeration value="Female" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPersonHobbies">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Hobbies:The person's hobbies</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="150" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPersonInitials">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Initials:Person's initials</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_DirPersonMaritalStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Marital status:Marital status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Single" />
      <xs:enumeration value="Married" />
      <xs:enumeration value="Divorced" />
      <xs:enumeration value="Widowhood" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirNameSequenceDisplayAs">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Display as:Default name sequence for person party types</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_DirNameAffixType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Affix type:Affix type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="PersonalPrefix" />
      <xs:enumeration value="PersonalSuffix" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirNameAffixValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Affix:Enter a title or a suffix</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_DirNameAffix">
    <xs:sequence>
      <xs:element minOccurs="1" name="AffixType" type="tns:AxdEnum_DirNameAffixType" />
      <xs:element minOccurs="1" name="Affix" type="tns:AxdExtType_DirNameAffixValue" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_DirPhoneticFirstName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Phonetic first:Phonetic first name for a person</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPhoneticLastName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Phonetic last:Phonetic last name for a person</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPhoneticMiddleName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Phonetic middle:Phonetic middle name for a person</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirNameProfessionalSuffix">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Professional suffix:Professional suffix for a person</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirNameProfessionalTitle">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Professional title:Professional title for a person</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ABC">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ABC code:ABC code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="A" />
      <xs:enumeration value="B" />
      <xs:enumeration value="C" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirOrganizationNumberOfEmployees">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number of employees:Number of employees in department</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirOrganizationNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Organization number:The organization number of the organization.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_OMOperatingUnitType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Operating unit types:Operating unit types</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="OMDepartment" />
      <xs:enumeration value="OMCostCenter" />
      <xs:enumeration value="OMValueStream" />
      <xs:enumeration value="OMBusinessUnit" />
      <xs:enumeration value="OMAnyOU" />
      <xs:enumeration value="RetailChannel" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_OMTeamMembershipCriterionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TemplateName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Template name:Select a template for distribution of amounts into financial dimensions</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="40" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustCashDiscDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash discount date:Cash discount date to be used when creating customer transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DiscPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount percentage:Discount in percentage.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReasonRefRecID">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reason table reference:Contains stored financial reason codes and comments for entered or posted transactions or actions.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustRef">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer reference:Customer's reference</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DocumentDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document date:Transaction date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EInvoiceAccountCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Dimension account:When settling to a public sector organization it is possible to specify a dimension account code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="35" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EInvoiceLineSpecific">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line-specific:Specify the dimension account code for settlement to the public sector organization on line level.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyPosted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posted via intercompany:The journal was posted automatically via intercompany</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustInvoiceId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice:Identification of the invoice.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ListcodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">List code:List code to be used with the EU sales list.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="IncludeNot" />
      <xs:enumeration value="EUTrade" />
      <xs:enumeration value="ProductionOnToll" />
      <xs:enumeration value="TriangularEUTrade" />
      <xs:enumeration value="TriangularProductionOnToll" />
      <xs:enumeration value="PropertyMoving_CZ" />
      <xs:enumeration value="TriangularIntermediateRole_HU" />
      <xs:enumeration value="DEL_EUService" />
      <xs:enumeration value="PurchasedOnBehalf_LV" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Log:Specification of action taken.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Customer name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="100" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPurchaseOrder">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer requisition:Customer requisition number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_PostReleaseDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Release date:The date that the transaction can be posted. If the field is blank, the transaction can be posted immediately.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_SubLedgerJournalStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Subledger journal status:Subledger journal status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Required" />
      <xs:enumeration value="Processing" />
      <xs:enumeration value="Processed" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TradeTouched">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Update:Update record</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VATNumJournal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax exempt number:Tax exempt identification number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CustFreeInvoiceWFApprovalStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Workflow status:Workflow status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Draft" />
      <xs:enumeration value="Submitted" />
      <xs:enumeration value="PendingApproval" />
      <xs:enumeration value="Approved" />
      <xs:enumeration value="Rejected" />
      <xs:enumeration value="ChangeRequested" />
      <xs:enumeration value="Pending" />
      <xs:enumeration value="Cancellation" />
      <xs:enumeration value="NotSubmitted" />
      <xs:enumeration value="PendingCompletion" />
      <xs:enumeration value="Completed" />
      <xs:enumeration value="PendingCancellation" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AmountDetails">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount details:Enter the calculation details to appear on the free text invoice when the invoice line is calculated</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetBookIdPurchSalesInvent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Value model:Value model related to the current transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetIdOpen">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fixed asset number:Unique key for identification of fixed asset. The key is used when creating new assets.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RAssetIdOpen">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">FA inventory number:Unique key for identification of fixed asset. The key is used when creating new assets.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BillingCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Billing code:Define a set of default billing values and rates for a free text invoice line.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustVendCFOPId_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CFOP:The fiscal operation code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustInvoiceCountryName_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Country of origin:Short name for a country/region</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustomsTariffCode_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tariff code:Enter the tariff code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_Direction_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Direction:Direction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Import" />
      <xs:enumeration value="Export" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_CustomsTariffCodeTable_IN">
    <xs:sequence>
      <xs:element minOccurs="1" name="TariffCode" type="tns:AxdExtType_CustomsTariffCode_IN" />
      <xs:element minOccurs="1" name="Direction" type="tns:AxdEnum_Direction_IN" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_ExciseRecordType_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Excise record type:Excise record type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="RG23A" />
      <xs:enumeration value="RG23C" />
      <xs:enumeration value="RG23D" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TariffCode_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tariff code:Select the excise tariff code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ExciseType_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Excise type:Excise type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Manufacturer" />
      <xs:enumeration value="Trader" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_GTAServiceCategory_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">GTA service category:GTA service category</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Inward" />
      <xs:enumeration value="OutwardInterUnit" />
      <xs:enumeration value="Others" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustFreeInvoiceGTDId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">GTD number:Customs declaration number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatItemCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Commodity:Item commodity code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdType_DefaultAccount">
    <xs:sequence>
      <xs:element minOccurs="1" name="MainAccount" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_MaximumRetailPrice_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Max. retail price:Maximum retail price for the transaction line.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_NGP_FR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">NGP:French national item code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_ItemOrigCountryRegionId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_ItemOrigCountryRegionId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemOrigCountryRegionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Country/region:Country/region of origin of the current inventory item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_ItemOrigStateId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_ItemOrigStateId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemOrigStateId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">State/province:State of origin for the current item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustInvoiceTableRefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PlPKWiUCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">PKWiU:PKWiU code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatPortId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Port:Port where current delivery is loaded.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjTransIdBase">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction ID:Identification of transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PropertyNumber_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Property number:Register number of property.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InvoiceQuantity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Enter quantity for line</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FormType_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Form type:India sales tax form type for concessional rate.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesUnit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit:Unit the item is sold in.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ServiceCode_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service code:Define the service code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatProcId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Statistics procedure:Code for the current statistical procedure.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxServiceCodeId_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service code:Fiscal classification applied for services</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxWithholdItemGroup_TH">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item withholding tax group:Group of withholding tax codes that can be calculated for an item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatTransactionCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction code:Code for the current transaction code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatTransport">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transport:Specify means of transport for the current order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InvoiceUnitPrice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit price:Enter sales price per quantity unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Weight">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Weight:Specification of weight.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TableId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Table ID:ID for the table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ServiceTariffId_PL">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service tariff number:Service tariff number for VAT reporting</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_DocumentStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document status:Document status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Quotation" />
      <xs:enumeration value="PurchaseOrder" />
      <xs:enumeration value="Confirmation" />
      <xs:enumeration value="PickingList" />
      <xs:enumeration value="PackingSlip" />
      <xs:enumeration value="ReceiptsList" />
      <xs:enumeration value="Invoice" />
      <xs:enumeration value="ApproveJournal" />
      <xs:enumeration value="ProjectInvoice" />
      <xs:enumeration value="ProjectPackingSlip" />
      <xs:enumeration value="CRMQuotation" />
      <xs:enumeration value="Lost" />
      <xs:enumeration value="Cancelled" />
      <xs:enumeration value="FreeTextInvoice" />
      <xs:enumeration value="RFQ" />
      <xs:enumeration value="RFQAccept" />
      <xs:enumeration value="RFQReject" />
      <xs:enumeration value="PurchReq" />
      <xs:enumeration value="RFQReSend" />
      <xs:enumeration value="InvoiceRegistration_IN" />
      <xs:enumeration value="BillOfEntry_IN" />
      <xs:enumeration value="ShippingBill_IN" />
      <xs:enumeration value="Invoice4Paym_RU" />
      <xs:enumeration value="Facture_RU" />
      <xs:enumeration value="FreeTextInvoice4Paym_RU" />
      <xs:enumeration value="DeliverySlip_BR" />
      <xs:enumeration value="PlSAD" />
      <xs:enumeration value="DeliverySlipProject_BR" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FacturedAmount_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Factured:Processed amount by miscellaneous charges line.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupFromAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">From amount:Defines 'From' value for defining tiered charges</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyCompanyId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Company:Identification of intercompany company accounts.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyInvoiceId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Intercompany invoice number:Number of the invoice received from the intercompany company</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyMarkupUseValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use value:Calculate charge amount from intercompany charge amount</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyMarkupValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Value:Calculated value from the intercompany sales order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupKeep">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Keep:Keep charges transaction after invoicing</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_MarkupAllocateAfter">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Charges allocation:Charges allocation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NetAmount" />
      <xs:enumeration value="Qty" />
      <xs:enumeration value="Linie" />
      <xs:enumeration value="Weight_RU" />
      <xs:enumeration value="Volume_RU" />
      <xs:enumeration value="WholeAmount_IN" />
      <xs:enumeration value="DEL_PerInvoice_IN" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupCategoryType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Category:Charges category applicable to the line</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Fixed" />
      <xs:enumeration value="Pcs" />
      <xs:enumeration value="Percent" />
      <xs:enumeration value="InterCompanyPercent" />
      <xs:enumeration value="External" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_MarkupClassification_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Classification:Classification</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Blank" />
      <xs:enumeration value="Freight" />
      <xs:enumeration value="Insurance" />
      <xs:enumeration value="Others" />
      <xs:enumeration value="SISCOMEX" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_MarkupCode_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_MarkupCode tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Charges code:Identification of the charges</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupModuleCategory">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Category:Category in module (header, line)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Heading" />
      <xs:enumeration value="Linie" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupModule">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Charges module:Specify which module the charges group is attached to</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Invent" />
      <xs:enumeration value="Cust" />
      <xs:enumeration value="Vend" />
      <xs:enumeration value="Delivery" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_NotionalPct_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Assessable value pct.:Percentage of notional charge that is a part of the assessable value.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxAmountExciseMST_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Excise amount:Calculated excise amount.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxAmountVATMST_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount of VAT:Calculated VAT amount.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupToAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">To amount:Defines 'To' value for defining tiered charges</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Charges value:Value attached to the charges category</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PurchBookVATDocumentType_Invoice_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document type (VAT):Document type (VAT)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Unknown" />
      <xs:enumeration value="ContractorsWork_Before2005" />
      <xs:enumeration value="ContractorsWork_2005" />
      <xs:enumeration value="BuildingForOwnNeeds_Before2005" />
      <xs:enumeration value="BuildingForOwnNeeds_2005" />
      <xs:enumeration value="Goods" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AmountCurDebCred">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount in transaction currency:The amount in the transaction currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AmountMSTDebCred">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount:The transaction amount, in the accounting currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ExchrateSecondary">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Secondary exchange rate:Rate of the secondary part of the currency calculation, when triangulation is used</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="12" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FixedExchRate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fixed rate:Specify whether fixed exchange rate is to be used.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_NetCurrent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Net/Current:Net/Current</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Net" />
      <xs:enumeration value="CurrentMth" />
      <xs:enumeration value="CurrentQuart" />
      <xs:enumeration value="CurrentYear" />
      <xs:enumeration value="CurrentWeek" />
      <xs:enumeration value="COD" />
      <xs:enumeration value="DEL_CutOffDate_JP" />
      <xs:enumeration value="CutOffDate" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LedgerTransType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction type:Transaction type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Transfer" />
      <xs:enumeration value="Sales" />
      <xs:enumeration value="Purch" />
      <xs:enumeration value="Invent" />
      <xs:enumeration value="Production" />
      <xs:enumeration value="Project" />
      <xs:enumeration value="Interest" />
      <xs:enumeration value="Cust" />
      <xs:enumeration value="ExchAdjustment" />
      <xs:enumeration value="SummedUp" />
      <xs:enumeration value="Payroll" />
      <xs:enumeration value="FixedAssets" />
      <xs:enumeration value="CollectionLetter" />
      <xs:enumeration value="Vend" />
      <xs:enumeration value="Payment" />
      <xs:enumeration value="Tax" />
      <xs:enumeration value="Bank" />
      <xs:enumeration value="Conversion" />
      <xs:enumeration value="BillOfExchange" />
      <xs:enumeration value="PromissoryNote" />
      <xs:enumeration value="Cost" />
      <xs:enumeration value="Work" />
      <xs:enumeration value="Fee" />
      <xs:enumeration value="Settlement" />
      <xs:enumeration value="Allocation" />
      <xs:enumeration value="Elimination" />
      <xs:enumeration value="CashDiscount" />
      <xs:enumeration value="OverUnder" />
      <xs:enumeration value="PennyDifference" />
      <xs:enumeration value="CrossCompanySettlement" />
      <xs:enumeration value="PurchReq" />
      <xs:enumeration value="InflationAdjustment_MX" />
      <xs:enumeration value="PurchAdvanceApplication" />
      <xs:enumeration value="ConversionReporting" />
      <xs:enumeration value="FixedAssets_RU" />
      <xs:enumeration value="RTax25_BadDebtDebitAmortisation" />
      <xs:enumeration value="RDeferrals" />
      <xs:enumeration value="RTax25_BadDebtCreditAmortisation" />
      <xs:enumeration value="AdvanceAdjustment_RU" />
      <xs:enumeration value="VATTaxAgent_RU" />
      <xs:enumeration value="GainLossCurrencyDeal_RU" />
      <xs:enumeration value="PdsRebateCreditNote" />
      <xs:enumeration value="PdsRebatePassToAP" />
      <xs:enumeration value="WriteOff" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustCashDiscAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash discount amount:Cash discount amount included in the transaction when invoicing.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CashDiscAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash discount amount:The amount in the transaction currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CustInvoiceLineType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer invoice line type:Customer invoice line type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Customer" />
      <xs:enumeration value="MarkupTrans" />
      <xs:enumeration value="InterestNote" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DiscAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash discount amount:The amount in the transaction currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AgreementId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Agreement ID:Agreement registration number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LedgerJournalACType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Account type:Account type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Ledger" />
      <xs:enumeration value="Cust" />
      <xs:enumeration value="Vend" />
      <xs:enumeration value="Project" />
      <xs:enumeration value="FixedAssets" />
      <xs:enumeration value="Bank" />
      <xs:enumeration value="FixedAssets_RU" />
      <xs:enumeration value="Employee_RU" />
      <xs:enumeration value="RDeferrals" />
      <xs:enumeration value="RCash" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AcknowledgementDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction date:Date when the company gains knowledge of the transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AgreementCompany_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Agreement company:Company for agreement selection</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankCashDueAnnouncement_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash due announcement:Cash due announcement number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Approved">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Approved:Has transaction been approved?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmApprover">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Approved by:Worker who approved the record.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Counter">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Counter:For program-internal loop-counter variables.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AgreementHeaderExtRecId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Agreement ID:Agreement registration number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankBillOfExchangeNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bill of exchange number:Number of the printed bill of exchange.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankCentralBankTransTypeCur_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Currency op code:Currency operation code according to central bank.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankChequeNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Check number:Identification of the bank check.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankClientDocumentTypeId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">The code of document kind:The code of document kind.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankCurrencyDealCourse_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank exchange rate:Bank exchange rate for currency conversion.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="12" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankDepositNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Deposit slip:Deposit slip number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankDepositVoucher">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use a deposit slip:If selected, the payment amount can be deposited using a deposit slip</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankNegInstRecipientName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Recipient name:The name of the recipient who will be issued a check.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LvBankPaymentRegistrationNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment registration number:The payment registration number assigned by bank.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerJournalAC">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Account:Account number for current account type.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankPromissoryNoteNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Promissory note number:Number of the printed promissory note.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankRemittanceFileId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Remittance number:Unique identification of the remittance file.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BankRemittanceType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Remittance type:Remittance type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Collection" />
      <xs:enumeration value="Discount" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmWorkerRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Worker:The name of the worker</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankTransactionType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank transaction type:Transaction type in Cash and bank management module.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Cancelled">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Canceled:Cancellation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CashDiscBaseDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment terms base date:The date that is used for calculating discount dates and due dates</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CashDiscCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash discount:Cash discount code for subsequent approval.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LvCashReceiptNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash receipt number:Number of a cash receipt.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ConsignmentNum_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Consignment note number:Identification of the consignment note number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Correct_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Corrective document:Is the document a correction?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InvoiceDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice date:Date of invoice.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_FactureCorrectionType_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Correction type:Correction type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Unknown" />
      <xs:enumeration value="Correction" />
      <xs:enumeration value="Revision" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustEinvoicePaymDeliveryNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery number:Integer.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustEinvoicePaymSectionNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Section number:Integer.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustEinvoicePaymTransNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction number:Integer.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustFactureAutoCreate_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Automatically facture creation:Create facture on prepayment automatically.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustomsAmount_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount in transaction currency:The amount in the transaction currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PlCustVendAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Code:Unique number for customer/vendor.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankAccountID">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Account identification:Unique identification of account.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PlCustVendName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer/Vendor:Name of customer/vendor.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CustVendNegInstProtestReason">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Protest cause:Protest cause</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="NonAcceptance" />
      <xs:enumeration value="NonPayment" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_LtDebitCurrencyCode_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_LtDebitCurrencyCode tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LtDebitCurrencyCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Debit currency:The currency code for the foreign payment</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DimensionDefault">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Dimension:Default dimensions</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DocumentNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document:Document number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ErrorCodePayment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Error code:Error code received with return message.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ListDispatchId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Dispatch:Sequence transaction number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ForeignBankFee_LT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Foreign bank fee:Foreign bank fee</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Sender" />
      <xs:enumeration value="Shared" />
      <xs:enumeration value="Beneficiary" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PeriodUnit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit:Unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Day" />
      <xs:enumeration value="Month" />
      <xs:enumeration value="Year" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Freq">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number of units:Number of units in the individual interval for the transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerJournalTransRefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FurtherPostingType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bridging posting:Use bridging posting?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LTInformByPhone">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inform by phone:If this check box is selected, the beneficiary is informed by telephone</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LTInformByTelex">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inform by telex:If this check box is selected, the beneficiary is informed by telex</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntraComVATDueDate_W">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document date for intra-community VAT:Use document date for VAT register (intra-community)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_InvoiceReleaseDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice payment release date:The date  when the hold is released for the invoice payment</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_LastTransferred">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Last date:Last date of transfer of periodic transactions.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DimensionDynamicAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Account:Account number for current account type.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerJournalDlvDate_ES">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery date:The date of delivery for the related goods/services</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerVoucherTypeRefRecId_CN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Voucher type:Name of the voucher type.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupCodeVend_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Charges code:Identification of the charges</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_NatureOfAssessee_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Nature of assessee:Nature of assessee</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Company" />
      <xs:enumeration value="HUF" />
      <xs:enumeration value="Firm" />
      <xs:enumeration value="Individual" />
      <xs:enumeration value="AOP" />
      <xs:enumeration value="BOI" />
      <xs:enumeration value="LocalAuthority" />
      <xs:enumeration value="Others" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustVendNegInstId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Negotiable instrument ID:Identification of the negotiable instrument.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Percent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Percent:Portion of the amount in hundredths</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PostingProfile">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posting profile:Posting profile being processed.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerJournalTransTxt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Text describing the transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_VendorOperationType_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type of operation:Type of operation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Blank" />
      <xs:enumeration value="ProServices" />
      <xs:enumeration value="RentLease" />
      <xs:enumeration value="Other" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymNote">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Note:Specific comments on payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="1000" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PaymentPriority_LT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment priority:Payment priority</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Standard" />
      <xs:enumeration value="Urgent" />
      <xs:enumeration value="Express" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymentSequenceNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">File No.:Number of the file sent.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CustVendPaymStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment status:Payment status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Sent" />
      <xs:enumeration value="Recieved" />
      <xs:enumeration value="Confirmed" />
      <xs:enumeration value="Rejected" />
      <xs:enumeration value="Delete" />
      <xs:enumeration value="SentDelete" />
      <xs:enumeration value="Deleted" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymInstructionRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment instruction code:Code which is used in the SWIFT message for foreign banks.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymMode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Method of payment:Method of payment for the current payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LtPaymentPurpose">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment purpose:Specify payment purpose.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymReference">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment reference:Reference to a specific payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchIdRange">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase order:The selected ranges and their values</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="250" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchLedgerPosting">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase posting:Posting used when approving the purchase.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Arrival" />
      <xs:enumeration value="Offset" />
      <xs:enumeration value="Vendor" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QtyStatistical">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Quantity in statistics</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RCashDocRepresPersonId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Representative:A person withholding a cash payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RCashDocRepresType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Representative type:Representative type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Employee" />
      <xs:enumeration value="Other" />
      <xs:enumeration value="Vendor" />
      <xs:enumeration value="Customer" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchReceiptDate_W">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Receive document date:The date when the invoice was received</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReleaseDateComment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Release date comment:Provide an optional comment for the release date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Amount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount:The amount in the accounting currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RemittanceAddress">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Address:The mailing address that will be printed on remittances and checks</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RemittanceLocation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Remittance location:The remittance address location name</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesTaxFormTypesRecId_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Form type:India sales tax form type for the transaction line.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SettlementType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Settlement type:Settlement type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="OpenTransact" />
      <xs:enumeration value="SelectedTransact" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Tax1099Amount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">1099 amount:Amount to be reported in 1099</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Tax1099FieldsRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">1099 box:Box code on the 1099 form that the total amount is posted to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Tax1099State">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">State/province:Identification of state</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Tax1099StateAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">1099 state amount:Amount to be reported in 1099</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxBase_W">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Base amount for VAT:Enter the statistical amount used to calculate the VAT amount only for the VAT registers</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxGroupJournal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax group:Identification of sales tax group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxWithholdAlternateVendorAcct_TH">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Alternate account:Vendor invoice account.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxWithholdCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Withholding tax code:Code identifying the withholding tax code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxWithholdItemGroupId_TH">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item withholding tax group:Group of withholding tax codes that can be calculated for an item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VatDueDate_W">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Date of VAT register:The transaction date for the VAT register period</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_VATGoodsType_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">VAT items type:VAT items type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Input" />
      <xs:enumeration value="CapitalGoods" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VATOnPayment_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">VAT on payment:Process VAT on "On payment" principle.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VATOperationCode_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">VAT operation code:Operation code for VAT declaration.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VATTaxAgentVendAccount_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Vendor account:Vendor account number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InvoiceDeclarationId_IS">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice declaration:Classification of vendor invoices used for instance for reporting to authorities.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendTransRefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Voucher_CN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Chinese voucher:Chinese voucher number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsLocationRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Location:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsDunsNumberRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">DUNS:The unique identification number assigned to the customer's company or organization.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPartyRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank account number:The account number that is assigned by the bank</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="35" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BankAccountType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank account type:Bank account type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="CheckingAccount" />
      <xs:enumeration value="SavingsAccount" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankCIN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CIN:Control internal number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="1" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BankCodeType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Routing number type:Routing number type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Code_None" />
      <xs:enumeration value="Code_AT" />
      <xs:enumeration value="Code_BL" />
      <xs:enumeration value="Code_CC" />
      <xs:enumeration value="Code_CP" />
      <xs:enumeration value="Code_CH" />
      <xs:enumeration value="Code_FW" />
      <xs:enumeration value="Code_SC" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank groups:A group the bank can be attached to. Used for general information and grouping of accounts.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankSortCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sort code:Sort code to be used with BACS.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PhoneMobile">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mobile phone:Mobile phone number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankCorrAccount_W">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Corr. bank account:Correspondence bank account.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="35" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LtCorrespondentBankAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Correspondent bank account:The account number at the correspondent bank</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="35" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LtCorrespondentBankAddress">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Correspondent bank address:The address of the correspondent bank</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="250" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LtCorrespondentBankName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Correspondent bank name:The name of the correspondent bank</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LtCorrespondentBankSWIFT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Correspondent bank's SWIFT code:The BIC of the correspondent bank</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustDomNumber_BE">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Domiciliation number:Identify domiciliation number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPaymTextCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Text code:Code specifying a text on the account statement of the recipient.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CrossExchRate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cross rate:Exchange rate between payment and invoice, if they are in different currencies.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="12" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ExchRateRef">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exchange reference:Reference number of any forward or fixed-term rate of exchange.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="11" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LtIntermediateBankAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Intermediate bank account:The account number at the intermediary bank</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="35" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LtIntermediateBankAddress">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Intermediate bank address:The address of the intermediary bank</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="250" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LtIntermediateBankName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Intermediary bank name:The name of the intermediary bank</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LtIntermediateBankSWIFT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Intermediary bank's SWIFT code:The BIC of the intermediary bank</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LVDefaultBank">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Default account:Select the check box if the bank account is the default bank account for the selected currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankMsgToBank">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Message to bank:Message to the bank sent with the payment</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Pager">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Pager:Number of pager.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMS">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">SMS:E-mail address for sending SMS to a mobile phone.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="80" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SpecificSymbol">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Specific symbol:Identifies the specific symbol for bank payments.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TeleFax">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fax:Fax number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Telex">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Telex number:Telex number of the current address.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_URL">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Internet address:WWW address for Internet homepage</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HashKey">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Hash key:Provides a key for generating a hash value.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_GUID" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DimensionValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Dimension value:Specify dimension for subsequent recognition</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TradingPartnerCodeRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Trading partner code:Assign a trading partner code to this customer for federal GFRS and FACTS I reporting</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymTransCodeRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment transaction code:Default payment transaction code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmBusRelAccResponsibleWorker">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Main contact:The employee responsible for the vendor information</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LtAssetTransferType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Asset transfer status:Asset transfer status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NotTransfer" />
      <xs:enumeration value="DEL_ReverseJour" />
      <xs:enumeration value="TransferJour" />
      <xs:enumeration value="DEL_Movement" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CurrentOperationsTax">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posting layer:Posting layer</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Current" />
      <xs:enumeration value="Operations" />
      <xs:enumeration value="Tax" />
      <xs:enumeration value="WarehouseCur_RU" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CustVendNegInstProtestProcess">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Protest settled process:Protest settled process</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="OpenPaym" />
      <xs:enumeration value="OpenTrans" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_DetailSummary">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Detail level:Detail level</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Detail" />
      <xs:enumeration value="Summary" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerJournalEndBalance">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Ending balance:The amount in the transaction currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FixedOffsetAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fixed offset account:Specifies whether posting may be made to one specific offset account only.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JournalBlockUserGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Private for user group:User group that the journal is private to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerJournalBalance">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Journal balance:The amount in the transaction currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerJournalNameId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Identification of the journal name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LedgerJournalType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Journal type:Journal type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Daily" />
      <xs:enumeration value="Periodic" />
      <xs:enumeration value="PurchaseLedger" />
      <xs:enumeration value="Approval" />
      <xs:enumeration value="Payment" />
      <xs:enumeration value="CustPayment" />
      <xs:enumeration value="Cost" />
      <xs:enumeration value="VendInvoiceRegister" />
      <xs:enumeration value="VendInvoicePool" />
      <xs:enumeration value="VendInvoicePoolNotPosted" />
      <xs:enumeration value="Assets" />
      <xs:enumeration value="AssetBudgets" />
      <xs:enumeration value="CustPaymRemittance" />
      <xs:enumeration value="CustBillOfExchangeDraw" />
      <xs:enumeration value="CustBillOfExchangeProtest" />
      <xs:enumeration value="CustBillOfExchangeRedraw" />
      <xs:enumeration value="VendPromissoryNoteDraw" />
      <xs:enumeration value="CustBillOfExchangeAccept" />
      <xs:enumeration value="VendPromissoryNoteRedraw" />
      <xs:enumeration value="VendPaymRemittance" />
      <xs:enumeration value="CustBillOfExchangeSettle" />
      <xs:enumeration value="VendPromissoryNoteSettle" />
      <xs:enumeration value="RDeferrals" />
      <xs:enumeration value="RCash" />
      <xs:enumeration value="Assets_RU" />
      <xs:enumeration value="AssetBudgets_RU" />
      <xs:enumeration value="RTax25" />
      <xs:enumeration value="RTax25AmountDifference" />
      <xs:enumeration value="RTax25ExchDifference" />
      <xs:enumeration value="RAssetAssessedTax" />
      <xs:enumeration value="RAssetTransportTax" />
      <xs:enumeration value="RAssetLandTax" />
      <xs:enumeration value="StatTrans" />
      <xs:enumeration value="Allocation" />
      <xs:enumeration value="Elimination" />
      <xs:enumeration value="BankChequeReversal" />
      <xs:enumeration value="BankDepositPaymCancel" />
      <xs:enumeration value="Budget" />
      <xs:enumeration value="Payroll" />
      <xs:enumeration value="PayrollDisbursement" />
      <xs:enumeration value="RTax25TaxRemainGoods" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerJournalInclTax">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amounts include sales tax:Amount entered in the journals includes sales tax</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerJournalLinesLimit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Lines limit:If the number of lines in a journal exceeds this number, posting will distribute the lines into several smaller journals.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JournalNumOfLines">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Lines:Number of journal lines.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DimensionDynamicDefaultAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Main account:Default main account used for posting in ledger</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JournalPosted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posted:Has the journal been posted?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_JournalPostedDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posted on:Date the journal was posted.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_LedgerJournalDelLine">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delete lines after posting:Delete journal lines when posting is completed?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JournalSessionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Session ID:ID for the current session.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:complexType name="AxdExtType_JournalSessionLoginDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Logon time:Date and time.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_JournalBlockUserId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Private for user:User that the journal is private to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="8" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VoucherAllocatedAtPosting">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number allocation at posting:Voucher number allocation in journals at posting.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LedgerJournalWFApprovalStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Workflow approval status:Workflow approval status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="NotSubmitted" />
      <xs:enumeration value="Submitted" />
      <xs:enumeration value="PendingApproval" />
      <xs:enumeration value="ChangeRequested" />
      <xs:enumeration value="Approved" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LedgerApprovalStatus_CN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Approval status:Approval status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Open" />
      <xs:enumeration value="Ready" />
      <xs:enumeration value="Rejected" />
      <xs:enumeration value="Approved" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RCashAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash:Cash account code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LTForeignBankFee">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Foreign bank fee:The party responsible to pay foreign bank fees</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Sender" />
      <xs:enumeration value="Shared" />
      <xs:enumeration value="Beneficiary" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LTPaymentPriority">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment priority:The priority of the payment order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Standard" />
      <xs:enumeration value="Urgent" />
      <xs:enumeration value="Express" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_JournalReverseType_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Journal type:Journal type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Main" />
      <xs:enumeration value="Reversed" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankAccountNameKana_JP">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank account kana name:Kana name of the bank account.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="40" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_UTCTimestamp">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">UTC timestamp:The UTC timestamp.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_BankAccountHoldStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank account status:Bank account status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ActiveForAllTransactions" />
      <xs:enumeration value="InactiveForNewTransactions" />
      <xs:enumeration value="InactiveForAllTransactions" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankClearingCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Clearing:Control code of bank.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankCompanyStatementName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Company statement name:Your company name as you want it to appear on your bank statement.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="16" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankDestinationName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Destination name:The name of the ACH or receiving point of an EFT transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="23" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BankInterbankClearingCode_BE">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Interbank clearing code:Interbank clearing code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Normal" />
      <xs:enumeration value="Urgent" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankMultiCurrency">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">More currencies:Allow posting currency other than account currency?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankSuffix">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Suffix:Suffix of the bank.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankTransferCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Drawer:Code of drawer. The code is given by the bank.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyPaymId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Company ID:Bank or postal giro identification of the paying company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="35" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerDimensionDefaultAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Main account:Default main account used for posting in ledger</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankDebitDirectId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Direct debit ID:Customer number of the company for debit direct.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankDiscCreditMaxMST">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discounting maximum:The maximum credit limit to use when discounting bills, in the accounting currency (0 = no maximum)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankDiscNoticeDelayDays">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Days:Time limit, in days, for feedback from the bank on payments.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankDivisionPaymId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Division:Bank's or postal giro's division identification of the paying company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="35" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FeeContractAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fee ESR account number:ESR account number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="11" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IncludeBankBarCode_FI">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank bar code:Account included in the bank bar code?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankPrenote">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank prenotes:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustNsfFeeMarkupGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Charges group:Charges group that will be used when NSF payment transactions are created in the Collections form</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustNsfJournalName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">NSF payment journal:Journal that will be used when NSF payment transactions are created in the Collections form</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankOverDraftLimit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Credit limit:Credit limit that the bank offers</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PrenoteResponseDays">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Prenote response days:Day of year</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PrintGiro_FI">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Giro:Print the account on the giro slip?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BankTransType_JP">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank transaction type:Bank transaction type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="OrdinarySavings" />
      <xs:enumeration value="Checking" />
      <xs:enumeration value="Others" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TempReal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Real:For temporary storage of CSV</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_KeyValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Key value:Value of key.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Company accounts ID:Company ID is the initials of the company accounts.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankDiscNoticeDeadline">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Deadline:Deadline for feedback from the bank on payments.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FineAmount_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fine amount:Fine amount to be charged on the payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FinInterestAmount_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Interest amount:Interest amount to be charged on the payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustLastInterestDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Interest date:Specifies the date of the most recent interest calculation for the transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxWithholdAmountCur">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Withholding tax amount in currency:Calculated withholding tax amount in currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankLCLineRefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Shipment number:The shipment number of shipment details.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankRemittanceFileIdCust">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Remittance number:Unique identification of the remittance file.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustBillOfExchangeID">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bill ID:Unique key for identification of bills of exchange. The key is used when creating new bills of exchange.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustVendNegInstSeqNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sequence number:Sequence number for bills of exchange and promissory notes.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustBillOfExchangeStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status of the bill of exchange.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Drawn" />
      <xs:enumeration value="Redrawn" />
      <xs:enumeration value="Protested" />
      <xs:enumeration value="Honored" />
      <xs:enumeration value="Remitted" />
      <xs:enumeration value="Invoiced" />
      <xs:enumeration value="InvoiceRemitted" />
      <xs:enumeration value="Endorsed" />
      <xs:enumeration value="EndorsementSettled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailConcessionContractId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Contract ID:Concession contract ID</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailConsessionSettlementId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Settlement ID:Group identifier.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Correct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Correction:Is the transaction a correction?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustExchAdjustmentRealized">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Realized exchange rate adjustment:Realized exchange rate adjustment amount of this transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustExchAdjustmentUnrealized">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unrealized exchange rate adjustment:Unrealized exchange rate adjustment amount of this transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustExchAdjustment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exchange rate adjustment amount:Amount of the transaction exchange rate adjustment</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustInterestCalculate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Interest calculation:May interest be calculated on the transaction?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymManBatch">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reporting batch:Identification of the reporting batch.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymManLackDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Deadline:Time limit for feedback from the bank on payments</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPaymReference">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment reference:Reference to a specific payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPaymSpec">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment specification:Specify payment handling for the current method of payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailCustTrans">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">RBO:Customer transaction type.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailStoreId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Store number:Identification of store</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailTerminalId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Register number:Identification of POS terminal</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailTransactionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction number:Identification of the transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="44" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustAutoSettlement">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Settlement:May transaction be settled automatically?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxInvoiceSalesId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax invoice ID - sales:Unique key for invoice, allocated when invoice updating.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankThirdPartyAccountId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Third-party bank account:Bank account ID of the third-party bank account.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustVendConsRefRecId_JP">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Consolidation ID reference:Identification of each consolidation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PrepaymentFactureId_W">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Prepayment facture:Number of auto-created facture for prepayment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Description255">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Brief description of transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustVendPaymProcessingDataValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Value:The payment processing data value.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmAssistantName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Name of the assistant for this person.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmAssistantPhone">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Phone number:Telephone number of the assistant for this person.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmBillingInformation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Billing information:Billing information.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="150" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCharacterId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Character:The character type of the contact</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmBusRelName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name of prospect:Name of active prospect</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmComputerNetworkName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Computer network name:The name of the contact's computer network</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmBusRelAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Prospect:The prospect's account number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmContactPersonParentId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Manager:Contact's manager</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmDecisionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Decision:The role of the contact in the decision making process</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmDepartment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Department:The contact's department</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmContactDirectMail">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Direct mail:A selected check box indicates that the contact can receive mail directly</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmContactGreeting1">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Complimentary close 1:The closing to use when contacting the contact</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmContactGreeting2">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Complimentary close 2:The alternate closing to use when contacting the contact</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmContactIntro1">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Salutation 1:The salutation to use when contacting the contact</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmContactIntro2">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Salutation 2:The alternate salutation to use when contacting the contact</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmFunctionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Function:The contact's job function</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmGovernmentIDNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Government ID:The government identification number for the selected contact</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmImported">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Imported:Indicates that the prospect has been imported</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SmmContactPersonInactive">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inactive:Indicates whether the contact is still active with the company</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_smmDateTimeLastEdit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Date:Time last modified in Microsoft Dynamics.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_smmLoyaltyId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Loyalty:The loyalty level of the contact</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmContactPersonDetailsMemo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Notes:More information about the contact</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmMileage">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mileage:Associated mileage.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="199" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmOfficeLocation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Office location:The location of the contact's office</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmOrganizationalIDNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Organizational ID:The organizational identification number for the contact</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmOutlookCategories">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Microsoft Outlook categories:The Microsoft Outlook categories that the contact is included in</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PayeeDocument_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Identity card:Employee's identity card (i.e. passport).</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="100" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmProfession">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Profession:The contact's profession</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_smmSensitivity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sensitivity:Sensitivity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Normal" />
      <xs:enumeration value="Personal" />
      <xs:enumeration value="Privat" />
      <xs:enumeration value="Confidential" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmSpouse">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Spouse:Name of spouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmTMAvailableFrom">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Available from:Time of day</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmTMAvailableTo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Available to:Time of day</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PersonTitle">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Title:Identification of title</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_VendRequestRoleType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">User role:User role</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Admin" />
      <xs:enumeration value="Clerk" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmContactVIP">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">VIP:A selected check box indicates that the contact is a VIP</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WebRequestWebAccess">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Request internet access:Select to request internet access</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DlvModeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mode of delivery:The means by which the order will be delivered</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ShipCarrierDlvType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service:Service</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Misc" />
      <xs:enumeration value="Ground" />
      <xs:enumeration value="Air" />
      <xs:enumeration value="PickUp" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Carrier company:Company name of shipping carrier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DeliveryMarkupGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Charges group:The charges group that this mode of delivery is assigned to</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DlvTermId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery terms:Unique identification of delivery terms</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailAssortmentRefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:The ID of the retail assortment definition.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item number:Identify item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_OMOperatingUnitRefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Operating unit:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ValidFromDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Effective:The date from which this record is valid.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ValidToDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expiration:The date up to which this record is valid.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResCategoryHierarchyId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Category hierarchy:The name of the category hierarchy</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RetailChannelType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Channel type:Channel type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="RetailStore" />
      <xs:enumeration value="OnlineStore" />
      <xs:enumeration value="OnlineMarketplace" />
      <xs:enumeration value="SharePointOnlineStore" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailEventNotificationProfileId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Email notification profile:The field identifies retail Email notification profile</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyInventLocationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Warehouse:Identify the warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailStoreArea">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Store area:Store area in square footage</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailTransactionServiceProfileId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Profile:Real-time Service profile ID</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailOnlineCatalogName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Catalog name:Online catalog name</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="128" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailFromTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">From:Time of day</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailToTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">To:Time of day</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailStatementMethod">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Statement method:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Staff" />
      <xs:enumeration value="Terminal" />
      <xs:enumeration value="Total" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailOneStatementPerDay">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">One statement per day:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailClosingMethod">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Closing method:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="DateTime" />
      <xs:enumeration value="PosBatch" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailMaxDifferenceAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount:The amount in the accounting currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailMaxRoundingAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Maximum rounding amount:The amount in the accounting currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailFunctionalityProfileId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Profile:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailCreateLabelsForZeroPrice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Create labels for zero price:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailTenderTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment method:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailTenderDeclarationCalculation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tender declaration calculation:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="LastTender" />
      <xs:enumeration value="SumTender" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailMaximumTextLengthOnReceipt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Maximum text length on receipt:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailNumberOfTopOrBottomLines">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number of top/bottom lines:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailItemIdOnReceipt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product number on receipt:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="ItemId" />
      <xs:enumeration value="BarcodeItemId" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailServiceChargePct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service charge (%):</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailServiceChargePrompt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service charge prompt:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailReplicationCounter">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Replication counter:Retail scheduler replication counter</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailRoundingTaxAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Difference tax account:Account number for posting in ledger.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailMaxRoundingTaxAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Information if tax difference over:The amount in the accounting currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailLayoutId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Screen layout ID:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailGeneratesShelfLabels">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Prints shelf labels:Generates shelf labels for the current store</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailGeneratesItemLabels">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Prints product labels:Generates product labels for the current store</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailReqPlanIdSched">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Master plan:Identification of plan</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ServerName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Server name:Machine name of server.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="80" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailDatabaseName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Database name:Name of database</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailDBUserName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">User name:Name of database user</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailDBPassword">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Password:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailPOItemFilter">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">PO product filter:Only products that have been assigned to the store or the store's store group can be purchased for the store's location.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailConnDistributionGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Distribution group:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailHideTrainingMode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Hide training mode:Disables training mode for all registers in the store.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TimeOfDay">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:Time of day</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailseparateStmtPerStaffTerminal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Staff/register:Separate statement posting per staff and register?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailTaxIdNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax identification number (TIN):</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FieldId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Field ID:ID for the field</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResProductDimPriceDiscSales">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">For sales prices:Include the dimension when searching sales prices?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResProductDimPriceDiscPurch">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">For purchase prices:Include the dimension when searching purchase prices?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_DlvModeId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_DlvModeId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifPortName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Port name:Name of port</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="40" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResCategoryHierarchyName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Category hierarchy name</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="128" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LedgerPostingType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posting type:Posting type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="ExchRateGain" />
      <xs:enumeration value="ExchRateLoss" />
      <xs:enumeration value="InterCompany" />
      <xs:enumeration value="Tax" />
      <xs:enumeration value="VATRoundOff" />
      <xs:enumeration value="Allocation" />
      <xs:enumeration value="InvestmentDuty" />
      <xs:enumeration value="Liquidity" />
      <xs:enumeration value="MSTDiffSecond" />
      <xs:enumeration value="ErrorAccount" />
      <xs:enumeration value="MSTDiff" />
      <xs:enumeration value="YearResult" />
      <xs:enumeration value="Closing" />
      <xs:enumeration value="LedgerJournal" />
      <xs:enumeration value="CashDiscount" />
      <xs:enumeration value="ConsolidateDiffBalance" />
      <xs:enumeration value="PaymentFee" />
      <xs:enumeration value="TaxReport" />
      <xs:enumeration value="TransferOpeningClosing" />
      <xs:enumeration value="Bank" />
      <xs:enumeration value="ConversionProfit" />
      <xs:enumeration value="ConversionLoss" />
      <xs:enumeration value="TaxWithhold" />
      <xs:enumeration value="ConsolidateDiffProfitLoss" />
      <xs:enumeration value="IndirectEstimatedAbsorptionOffset" />
      <xs:enumeration value="IndirectAbsorption" />
      <xs:enumeration value="IndirectAbsorptionOffset" />
      <xs:enumeration value="FreeTextInvoice" />
      <xs:enumeration value="ConversionReportingLoss" />
      <xs:enumeration value="ConversionReportingProfit" />
      <xs:enumeration value="CustBalance" />
      <xs:enumeration value="CustRevenue" />
      <xs:enumeration value="CustInterest" />
      <xs:enumeration value="CustCashDisc" />
      <xs:enumeration value="CustCollectionLetterFee" />
      <xs:enumeration value="CustInterestFee" />
      <xs:enumeration value="CustInvoiceDisc" />
      <xs:enumeration value="CustPayment" />
      <xs:enumeration value="CustReimbursement" />
      <xs:enumeration value="CustSettlement" />
      <xs:enumeration value="VendBalance" />
      <xs:enumeration value="VendPurchLedger" />
      <xs:enumeration value="VendOffsetAccount" />
      <xs:enumeration value="VendInterest" />
      <xs:enumeration value="VendCashDisc" />
      <xs:enumeration value="VendPayment" />
      <xs:enumeration value="VendInvoiceDisc" />
      <xs:enumeration value="VendSettlement" />
      <xs:enumeration value="CrossCompanySettlement" />
      <xs:enumeration value="InventIssueFixedAsset" />
      <xs:enumeration value="SalesRevenue" />
      <xs:enumeration value="SalesConsump" />
      <xs:enumeration value="SalesDisc" />
      <xs:enumeration value="SalesCash" />
      <xs:enumeration value="SalesFreight" />
      <xs:enumeration value="SalesFee" />
      <xs:enumeration value="SalesPostage" />
      <xs:enumeration value="SalesRoundOff" />
      <xs:enumeration value="SalesPackingSlip" />
      <xs:enumeration value="SalesOffsetAccountPackingSlip" />
      <xs:enumeration value="SalesIssue" />
      <xs:enumeration value="SalesCommission" />
      <xs:enumeration value="SalesOffsetAccountCommission" />
      <xs:enumeration value="SalesPckSlipRevenue" />
      <xs:enumeration value="SalesPckSlipRevenueOffsetAccount" />
      <xs:enumeration value="Rebate" />
      <xs:enumeration value="PdsCWLoss" />
      <xs:enumeration value="PdsCWProfit" />
      <xs:enumeration value="PurchConsump" />
      <xs:enumeration value="PurchDisc" />
      <xs:enumeration value="PurchCash" />
      <xs:enumeration value="PurchFreight" />
      <xs:enumeration value="PurchFee" />
      <xs:enumeration value="PurchPostage" />
      <xs:enumeration value="PurchOffsetAccount" />
      <xs:enumeration value="PurchaseInvoiceRoundOff" />
      <xs:enumeration value="PurchMarkupFreight" />
      <xs:enumeration value="PurchMarkupCustoms" />
      <xs:enumeration value="PurchMarkupInsurance" />
      <xs:enumeration value="PurchPckSlp" />
      <xs:enumeration value="PurchOffsetAccountPckSlp" />
      <xs:enumeration value="PurchReceipt" />
      <xs:enumeration value="PurchStdProfit" />
      <xs:enumeration value="PurchStdLoss" />
      <xs:enumeration value="PurchStdOffsetAccount" />
      <xs:enumeration value="InventReceipt" />
      <xs:enumeration value="InventIssue" />
      <xs:enumeration value="InventProfit" />
      <xs:enumeration value="InventLoss" />
      <xs:enumeration value="InventStdProfit" />
      <xs:enumeration value="InventStdLoss" />
      <xs:enumeration value="Opening_ES" />
      <xs:enumeration value="PurchReq" />
      <xs:enumeration value="PurchOrder" />
      <xs:enumeration value="APInvoice" />
      <xs:enumeration value="Budget" />
      <xs:enumeration value="PurchOrderYearEnd" />
      <xs:enumeration value="InflationAdjustment_MX" />
      <xs:enumeration value="ProdReportFinished" />
      <xs:enumeration value="ProdReportFinishedOffsetAccount" />
      <xs:enumeration value="ProdIssue" />
      <xs:enumeration value="ProdIssueOffsetAccount" />
      <xs:enumeration value="ProdReceipt" />
      <xs:enumeration value="ProdReceiptOffsetAccount" />
      <xs:enumeration value="ProdPicklistOffsetAccount" />
      <xs:enumeration value="ProdPicklist" />
      <xs:enumeration value="ProdWIPValuation" />
      <xs:enumeration value="ProdWIPIssue" />
      <xs:enumeration value="ProdWrkCtrIssue" />
      <xs:enumeration value="ProdScrap" />
      <xs:enumeration value="ProdWrkCtrIssueOffsetAccount" />
      <xs:enumeration value="ProdScrapOffsetAccount" />
      <xs:enumeration value="ProdLeanWIPServiceReceipt" />
      <xs:enumeration value="ProdLeanWIPServiceClearing" />
      <xs:enumeration value="ProjCost" />
      <xs:enumeration value="ProjPayrollAllocation" />
      <xs:enumeration value="ProjWIPCostvalue" />
      <xs:enumeration value="ProjOffsetAccountItem" />
      <xs:enumeration value="ProjStatusAccountItem" />
      <xs:enumeration value="ProjTurnover" />
      <xs:enumeration value="ProjOnAccount" />
      <xs:enumeration value="ProjSalesvalue" />
      <xs:enumeration value="ProjSalesvalueOffset" />
      <xs:enumeration value="ProjAccruedTurnoverProd" />
      <xs:enumeration value="ProjWIPProduction" />
      <xs:enumeration value="ProJAccruedTurnoverProfit" />
      <xs:enumeration value="ProjWIPProfit" />
      <xs:enumeration value="ProjNeverLedger" />
      <xs:enumeration value="ProjAccruedCost" />
      <xs:enumeration value="ProjWIPCost" />
      <xs:enumeration value="ProjAccruedRevenueOnAccount" />
      <xs:enumeration value="ProjWIPInvoicedOnAccount" />
      <xs:enumeration value="ProjNoLedger" />
      <xs:enumeration value="PayrollDebitAccount" />
      <xs:enumeration value="PayrollCreditAccount" />
      <xs:enumeration value="EmplPayment_RU" />
      <xs:enumeration value="RTSLTranslationDifference" />
      <xs:enumeration value="RCash" />
      <xs:enumeration value="InventRoundingLoss_RU" />
      <xs:enumeration value="InventRoundingProfit_RU" />
      <xs:enumeration value="AdvanceAdjustmentGain_RU" />
      <xs:enumeration value="AdvanceAdjustmentLoss_RU" />
      <xs:enumeration value="FixedAssetsDebit" />
      <xs:enumeration value="FixedAssetsCredit" />
      <xs:enumeration value="CACLedgerJournalNoOff" />
      <xs:enumeration value="AmountDiffGain_RU" />
      <xs:enumeration value="AmountDiffLoss_RU" />
      <xs:enumeration value="Misc_IN" />
      <xs:enumeration value="TransferGoodsTransit_IN" />
      <xs:enumeration value="TransferScrap_IN" />
      <xs:enumeration value="PurchCharge" />
      <xs:enumeration value="PurchStockVariation" />
      <xs:enumeration value="PurchPckSlpPurchaseOffsetAccount" />
      <xs:enumeration value="PurchPckSlpTax" />
      <xs:enumeration value="PurchPckSlpPurchase" />
      <xs:enumeration value="SalesPackingslipTax" />
      <xs:enumeration value="ProjAccruedRevenueSubscription" />
      <xs:enumeration value="ProjWIPSubscription" />
      <xs:enumeration value="TaxOffsetWithhold_TH" />
      <xs:enumeration value="InventStdCostChangeVariance" />
      <xs:enumeration value="InventSystemRounding" />
      <xs:enumeration value="PurchAdvance" />
      <xs:enumeration value="PurchStdCostPurchasePriceVariance" />
      <xs:enumeration value="PurchAdvanceApplication" />
      <xs:enumeration value="ProdStdCostProductionVariance" />
      <xs:enumeration value="SalesGoodsInRoute_RU" />
      <xs:enumeration value="SalesGoodsInRouteOffset_RU" />
      <xs:enumeration value="InventInterUnitPayable" />
      <xs:enumeration value="InventInterUnitReceivable" />
      <xs:enumeration value="IndirectEstimatedAbsorption" />
      <xs:enumeration value="ProdStdCostLotSizeVariance" />
      <xs:enumeration value="ProdStdCostQuantityVariance" />
      <xs:enumeration value="ProdStdCostSubstitutionVariance" />
      <xs:enumeration value="InventStdCostRoundingVariance" />
      <xs:enumeration value="PurchReceiptFixedAsset" />
      <xs:enumeration value="PSATransportation" />
      <xs:enumeration value="PSACompanyCCClearing" />
      <xs:enumeration value="PSAEmployeeClearing" />
      <xs:enumeration value="PSAEmployeeAdvance" />
      <xs:enumeration value="PSAWriteOffCap" />
      <xs:enumeration value="PSAProjRetain" />
      <xs:enumeration value="PSAProjPurchRetain" />
      <xs:enumeration value="InventStdCostRevaluation" />
      <xs:enumeration value="PurchExpense" />
      <xs:enumeration value="VAT_IN" />
      <xs:enumeration value="InventMovingAveragePriceDifference" />
      <xs:enumeration value="SalesTax_IN" />
      <xs:enumeration value="InventMovingAverageCostRevaluation" />
      <xs:enumeration value="Excise_IN" />
      <xs:enumeration value="IntercompanyCost" />
      <xs:enumeration value="ServiceTax_IN" />
      <xs:enumeration value="IntercompanyRevenue" />
      <xs:enumeration value="Customs_IN" />
      <xs:enumeration value="TDS_IN" />
      <xs:enumeration value="TCS_IN" />
      <xs:enumeration value="TransferIssue_IN" />
      <xs:enumeration value="TransferReceipt_IN" />
      <xs:enumeration value="TransferProfit_IN" />
      <xs:enumeration value="TransferLoss_IN" />
      <xs:enumeration value="TaxAdjustmentSettlement_IN" />
      <xs:enumeration value="TaxExpense_BR" />
      <xs:enumeration value="BankStatement" />
      <xs:enumeration value="EmplBalance_RU" />
      <xs:enumeration value="DebitNote_BR" />
      <xs:enumeration value="CustFine_BR" />
      <xs:enumeration value="VendFine_BR" />
      <xs:enumeration value="Payroll" />
      <xs:enumeration value="InterunitDebit" />
      <xs:enumeration value="InterunitCredit" />
      <xs:enumeration value="FixedAssetsDebit_RU" />
      <xs:enumeration value="FixedAssetsCredit_RU" />
      <xs:enumeration value="TransferInterim_IN" />
      <xs:enumeration value="DeferralsDebit_RU" />
      <xs:enumeration value="DeferralsCredit_RU" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_MarkupType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Charges type:Charges type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Item" />
      <xs:enumeration value="LedgerAccount" />
      <xs:enumeration value="CustVend" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatMarkup_FI">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Intrastat:Include in Intrastat transactions.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupUseInMatching">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Compare purchase order and invoice values:Include this charges code when comparing purchase order and invoice charges</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdType_MultiTypeDefaultAccount">
    <xs:sequence>
      <xs:element minOccurs="1" name="Account" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_BankLCImportIsLCChargeCode_SA">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank document charge code:Is the selected charge code a bank document charge?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailConcessionFee">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Concession fee:Is this a concession fee?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceDiscModule">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Module:Specify discount group module, that is, inventory, customer, or vendor</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Invent" />
      <xs:enumeration value="Cust" />
      <xs:enumeration value="Vend" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PriceGroupType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price/Discount group type:Price/Discount group type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="PriceGroup" />
      <xs:enumeration value="LineDiscGroup" />
      <xs:enumeration value="MultiLineDiscGroup" />
      <xs:enumeration value="EndDiscGroup" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price groups:Code for price/discount group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceDiscName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Description of the price/discount group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceAllocateMarkup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Incl. in unit price:Include the price charges in the unit price of the various units specified in the Price quantity field?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyBlocked">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Intercompany stopped:Intercompany is stopped.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventLineDiscCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line discount group:Unique identification of line discount</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventPriceMarkup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price charges:Fixed charges on price, applied once for each invoice</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventMarkupGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Charges group:Identification of charges group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventPriceMarkupSecCur_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price charges:Fixed charges on price, applied once for each invoice</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailPriceInclVAT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price incl. VAT:Price including value added tax</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ModuleInventPurchSales">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Module type:Module type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Invent" />
      <xs:enumeration value="Purch" />
      <xs:enumeration value="Sales" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventMultiLineDiscCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Multiline disc. group:Multiline discount per price unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_OverDeliveryPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Overdelivery:The percentage by which the product receipt quantity is allowed to exceed the order quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PDSPricingPrecision">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Pricing precision:Pricing precision that is used to round the unit price during attribute-based pricing calculations</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Date of price:Date attached to the price</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price quantity:Quantity that price and charges are applicable to</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CostPriceSecCur_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Secondary cost:Run-dependent cost price per unit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceUnit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price unit:Number of units the price is specified in.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventSuppItemGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Supplementary item group:Specify the supplementary item group of the item in the module</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UnderDeliveryPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Underdelivery:The percentage by which the product receipt quantity is allowed to be less than the order quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DOCommerceMarketplaceName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Marketplace:Marketplace name</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="256" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DOCommerceMarketplaceId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Marketplace ID:Marketplace ID downloaded from Commerce Service</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="256" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DOCommerceOnlineStoreName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Online store:Online store name</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="256" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DOCommerceOnlineStoreProvisioningStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Provisioning status:Retail online channel provisioning status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceDiscAccountCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Account code:Account code, that is account, cash discount group, or all</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Table" />
      <xs:enumeration value="GroupId" />
      <xs:enumeration value="All" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceDiscAccountRelation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Account selection:Account number or account discount group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceDiscItemCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item code:Item code (item number, item discount group, all)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Table" />
      <xs:enumeration value="GroupId" />
      <xs:enumeration value="All" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceDiscItemRelation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item relation:Item number or item discount group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AmountQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">AmountQuantity:Quantity: Inventory quantity, Balance: Amount</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AmountQuantityTo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">To:Quantity: Inventory quantity, Balance: Amount</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PriceType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price/Discount type:Price/Discount type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="PricePurch" />
      <xs:enumeration value="LineDiscPurch" />
      <xs:enumeration value="MultiLineDiscPurch" />
      <xs:enumeration value="EndDiscPurch" />
      <xs:enumeration value="PriceSales" />
      <xs:enumeration value="LineDiscSales" />
      <xs:enumeration value="MultiLineDiscSales" />
      <xs:enumeration value="EndDiscSales" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SearchAgain">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Find next:Continue search using other combinations?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyAvailOrdered">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Total available:Physical quantity available including ordered minus ordered reservation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventSumClosed">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Closed:Is the on-hand inventory closed, that is with no quantity and value?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_ItemId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_ItemId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DOCommonPortRefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Port reference:Reference to the AIF port</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DOCommonEntityServerId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Server ID:Online services identifier for the entity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="256" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_DOCommonSyncStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Success" />
      <xs:enumeration value="Error" />
      <xs:enumeration value="ClientServerConflict" />
      <xs:enumeration value="ErrorWhileDownload" />
      <xs:enumeration value="DeletedOnClient" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DOCommonLastSyncDocumentHash">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document hash:Document hash of the document being synced</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="256" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DOCommonEntityServerType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Entity server type:Type of entity on server</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="256" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DOCommonEntityServerVersion">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Server version:Server version number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="256" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_DOCommonLastSyncDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Last synchronized:Date and time of last synchronization</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_DOCommonEntityClientId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Client identifier:Client Identifier of the entity being synced</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="256" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Charges amount:The amount in the transaction currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResCategoryId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Category:Category identifier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResCategoryName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Category name</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="254" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResCategoryCommodityCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Code:Category commodity code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_EcoResCategoryChangeStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Category change status:Category change status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NoChange" />
      <xs:enumeration value="Changed" />
      <xs:enumeration value="NewlyAdded" />
      <xs:enumeration value="NoLongerValid" />
      <xs:enumeration value="NotApplicable" />
      <xs:enumeration value="All" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResCategoryLevel">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Category node level:Level of the category node in the category hierarchy tree.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResCategoryNestedSetRight">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Nested set right value:Nested set right value of the category node.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResCategoryNestedSetLeft">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Nested set left value:Nested set left value of the category node.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CategoryThreshold_PSN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Default category threshold:Enter the amount to use for new threshold keys for the selected category and its subcategories</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PCComponentConfigurationReuseOption">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reuse configurations:Enable this component to reuse identical configurations</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_EcoResCategoryCommodityCode_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_EcoResCategoryCommodityCode tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_EcoResCategoryDescription_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_EcoResCategoryDescription tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResCategoryDescription">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Category description</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="1000" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_EcoResCategoryName_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_EcoResCategoryName tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_LanguageIdAll_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_LanguageIdAll tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResDescription">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Additional description of the product</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="1000" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailDisplayOrder">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Display order:Display order number of the variant</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailWeight">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Replenishment weight:Inventory dimension weight</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_PmfConfigUnitId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_PmfConfigUnitId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PmfConfigUnitId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Container unit:Unit symbol</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWProduct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CW product:Catch weight product.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_EcoResProductType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product type:Product type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Item" />
      <xs:enumeration value="Service" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResProductName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product name:Descriptive name of the product</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResStorageDimensionGroupName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Identification of the storage dimension group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResTrackingDimensionGroupName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Identification of the tracking dimension group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResProductNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product number:Unique identification of the product</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailColorGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Color group:Color group Id</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailSizeGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Size group:Size group Id</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailStyleGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Style group:Style group id</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_EcoResVariantConfigurationTechnologyType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Configuration technology:Configuration technology</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="PredefinedVariants" />
      <xs:enumeration value="DimensionBased" />
      <xs:enumeration value="RuleBased" />
      <xs:enumeration value="ConstraintBased" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResModelingAutoCreateVariants">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Generate variants automatically:Automatically create variants when a new product dimension is entered for a product master</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResModelingIdentical">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Allow identical configurations:Allow identical configurations with different configuration specification</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EMSMeterId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Meter ID:The meter identification.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_DateTimeExecuted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Processing date:Date and time.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_EMSQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:The amount of the substance.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="8" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EMSProcessId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Process ID:The identification of the selected source process record.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EMSFlowId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Flow ID:The number sequence identification for the substance flow.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_EMSFlowOriginType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Flow origin:Flow origin</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Meter" />
      <xs:enumeration value="Verification" />
      <xs:enumeration value="InvoiceRegister" />
      <xs:enumeration value="PurchaseOrder" />
      <xs:enumeration value="Manual" />
      <xs:enumeration value="Calculated" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_FromDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Start date/time:From</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_EMSScopeType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Scope:Scope</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Primary" />
      <xs:enumeration value="Secondary" />
      <xs:enumeration value="Tertiary" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EMSSubstanceId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Substance:The substance used in the process.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_ToDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">End date/time:To</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_HRMApplicationBasketCreatedSource">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Created source:Created source</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="InternalEP" />
      <xs:enumeration value="ExternalEP" />
      <xs:enumeration value="Manual" />
      <xs:enumeration value="Sites" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HRMRecruitingId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Recruitment project:Identify recruitment project</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmApplicantId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Applicant:Unique ID for applicant</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HRMZipCodeExternal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ZIP/postal code:Identify ZIP/postal code district</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HRMCountyExternal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">County:Specifies a county within a state in the current country/region</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HRMStateExternal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">State:Identification of state</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HRMCountryRegionExternal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Country/region:Specifies default native country/region in connection with addresses</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HRMCityExternal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">City:City for ZIP/postal code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HRMApplicantFinalDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Application deadline:Deadline for submission of application</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmJobId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Job:Unique identification of job</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_ValidToDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expiration:The time up to which this record is valid.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="AxdExtType_ValidFromDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Effective:The time from which this record is valid.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_HrmDescription">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Brief description of transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmTitleId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Title:Identification of title</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SysTranslationHTML">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Note:Enter an optional comment about this record</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UserIdStr">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Name</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="40" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmMilitaryDisabledVeteran">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Disabled veteran:Whether the person is officially classified as being a disabled veteran</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmExpatriateEndDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expatriate ruling valid to:End date of expatriate ruling</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmExpatriateStartDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expatriate ruling valid from:Start date of expatriate ruling</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmExpatriateRulingApplicable">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expatriate ruling:Is expatriate ruling applicable</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_HcmPersonMaritalStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Marital status:Marital status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Married" />
      <xs:enumeration value="Single" />
      <xs:enumeration value="Widowed" />
      <xs:enumeration value="Divorced" />
      <xs:enumeration value="Cohabiting" />
      <xs:enumeration value="RegisteredPartnership" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmMilitaryServiceEndDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Military service end date:Date that military service ended</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmMilitaryServiceStartDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Military service start date:Date that military service started</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmPersonNumberOfDependents">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number of dependents:Person's number of dependents</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmVeteranStatusId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Veteran status:Veteran status for the selected person</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmPersonBirthDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Birth date:The person's date of birth</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmPersonDeceasedDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Deceased date:Enter date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Training">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Education:Employee's education.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmEthnicOriginId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Ethnic origin:Identification of the ethnic origin of the person</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_HcmPersonGender">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Gender:Gender</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Male" />
      <xs:enumeration value="Female" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmLanguageCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Language code:Select the person's native language</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HCMEEOEstablishmentName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">EEO establishment:The name of the EEO establishment</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_HcmEmploymentType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Worker type:Worker type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Employee" />
      <xs:enumeration value="Contractor" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_HcmEmploymentValidFrom">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Employment start date:Start date of the worker employment</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="AxdExtType_HcmEmploymentValidTo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Employment end date:End date of worker employment</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="AxdExtType_HcmEmploymentAdjStartDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Worker's adjusted start date:Adjusted start date of the worker</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_HcmEmployerNoticeAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Employer quantity:Employer's termination notice.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmEmployerUnitOfNotice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Employer unit:Unit for employer's termination notice.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Week" />
      <xs:enumeration value="Month" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_HcmEmployment">
    <xs:sequence>
      <xs:element minOccurs="1" name="Worker_PersonnelNumber" type="tns:AxdExtType_HcmPersonnelNumberId" />
      <xs:element minOccurs="1" name="LegalEntity_DataArea" type="tns:AxdExtType_SelectableDataArea" />
      <xs:element minOccurs="1" name="ValidFrom" type="tns:AxdExtType_HcmEmploymentValidFrom" />
      <xs:element minOccurs="1" name="ValidTo" type="tns:AxdExtType_HcmEmploymentValidTo" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdExtType_HcmEmploymentLastWorkedDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Worker's last date worked:Last date worked by the worker</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="AxdExtType_HcmEmploymentTransitionDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Worker's date of transition:Date on which all worker employments are no longer active</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_HcmReasonCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reason code:Identify reason code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmWorkerNoticeAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Worker notice amount:Worker termination notice</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:complexType name="AxdExtType_HcmEmploymentStartDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Worker's start date:Date that the worker started working</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_HcmWorkerUnitOfNotice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Worker unit of notice:Unit for worker termination notice</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Week" />
      <xs:enumeration value="Month" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmWorkerOfficeLocation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Office location:The location of the office in the building</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_HcmEmploymentSeniorityDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Seniority date:Employee's seniority date</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_HRMAbsenceRequestHours">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Hours:Number of work hours.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HRMAbsenceCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Absence code:Identification of absence code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_HRMAbsenceRequestStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Created" />
      <xs:enumeration value="Transferred" />
      <xs:enumeration value="Rejected" />
      <xs:enumeration value="Approved" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HRMAbsenceTransText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Text describing the transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSCarrierName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Carrier name:Name of carrier.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="140" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSFreightedBy">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Freighted by:Freighted by</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Carrier" />
      <xs:enumeration value="Shipper" />
      <xs:enumeration value="Recipient" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPackageAppearance">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Package appearance:What is the item packed in?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesShippingDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Ship date:Confirmed ship date if exists, otherwise requested ship date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesExportReason">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reason for export:Explanation of why the goods are being exported</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FreightSlipNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Call tag number:Number on call tag.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesFreightSlipType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Call tag type:Freight company</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="UPS" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyPurchId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase order:Identification of the intercompany purchase order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesInternalPackingSlipId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Version:Packing slip version</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatDispatchId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Shipment batch:Shipment batch number in Intrastat.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatFulfillmentDate_HU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Intrastat fulfillment date:Date of Intrastat fulfillment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesInventLocationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Warehouse:Identify the warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PackingSlipId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Packing slip:Identification of the packing slip.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LtDocRegister">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Include in register log:Include document in register log.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LtPackingSlipStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document status:Document status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Canceled" />
      <xs:enumeration value="Broken" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ParmId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Parameter ID:Number of the reporting (one total update).</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales quantity:Number of sales units.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RefNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales order/project:Sales order/project</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="SalesOrder" />
      <xs:enumeration value="Project" />
      <xs:enumeration value="Cust" />
      <xs:enumeration value="Interest" />
      <xs:enumeration value="ComplementaryInvoice" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnItemNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">RMA number:Unique number issued to authorize the return.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnPackingSlipId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer packing slip number:Identification of the return order packing slip.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesIdBase">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales order:Identification of the order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SalesType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Order type:Order type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Journal" />
      <xs:enumeration value="DEL_Quotation" />
      <xs:enumeration value="Subscription" />
      <xs:enumeration value="Sales" />
      <xs:enumeration value="ReturnItem" />
      <xs:enumeration value="DEL_Blanket" />
      <xs:enumeration value="ItemReq" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TransportationPartyRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transportation party:The information about transportation parties</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Volume">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Volume:Volume of the item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_AddressCountryRegionId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_AddressCountryRegionId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TradeLineDlvTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery type:Delivery type of the current order line.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="DropShip" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesExternalItemId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">External:Customer item number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransIdBase">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Lot ID:Identification of the item lot.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Quantity of the item in inventory unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventRefId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference number:Number of the order, project, production, or purchase referred to</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventRefTransId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference lot:Lot ID referred to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventRefType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference type:Reference type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Sales" />
      <xs:enumeration value="Purch" />
      <xs:enumeration value="Production" />
      <xs:enumeration value="ProdLine" />
      <xs:enumeration value="InventJournal" />
      <xs:enumeration value="CRMQuotation" />
      <xs:enumeration value="InventTransfer" />
      <xs:enumeration value="FixedAsset" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TradeInventTransId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Lot ID:Identification of the item lot.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LineHeader">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line heading:Text describing the line</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="80" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemFreeTxt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Text:Standard item description.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="1000" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesIdOrig">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales order:Order that the line is generated from</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_EcoResCategory">
    <xs:sequence>
      <xs:element minOccurs="1" name="Name" type="tns:AxdExtType_EcoResCategoryName" />
      <xs:element minOccurs="1" name="CategoryHierarchy_Name" type="tns:AxdExtType_EcoResCategoryHierarchyName" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_SalesId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales order:Identification of the order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesShippingDateConfirmed">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Confirmed ship date:The selling company confirms that the order will be shipped on this date.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesShippingDateRequested">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Requested ship date:The day the selling company should ship the item in order to meet the customer's requested receipt date.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_SalesUnit_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_SalesUnit tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LtIntrastatStatisticValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Statistical value:The transaction amount, in the accounting currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatLineAmountMST">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Statistics amount:The transaction amount, in the accounting currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TradeStockedProduct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Stocked:Track in inventory?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventReportDimHistoryLogType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="PurchPurchaseOrder" />
      <xs:enumeration value="SalesQuotation" />
      <xs:enumeration value="ProdJournalBOM" />
      <xs:enumeration value="ProdJournalProd" />
      <xs:enumeration value="SalesPackingSlip" />
      <xs:enumeration value="SalesInvoice" />
      <xs:enumeration value="DEL_InventPickingList" />
      <xs:enumeration value="SalesConfirm" />
      <xs:enumeration value="PurchReceiptList" />
      <xs:enumeration value="PurchPackingSlip" />
      <xs:enumeration value="PurchInvoice" />
      <xs:enumeration value="DEL_PmfJournalCoBy" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransRefId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number:The ID of the record that is the origin for the requirement transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventSerialText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Text:Describe the serial number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventSerialProdDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Manufacturing date:Manufacturing date of the current serial number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RFIDTagId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tag ID:RFID tag ID.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="24" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPalletTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Pallet type:Description of the bearer</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSHeight">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Height:Height of the location.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSBillOfLadingId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bill of lading:Bill of lading number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="17" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CargoDescription_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cargo description:Shipping description of the cargo.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CargoPacking_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cargo packing:Cargo labeling, tare and packing type.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CarrierCode_W">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Carrier:Carrier (supplier) reg. No.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CarrierType_W">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Carrier type:Carrier type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="InvoiceAccount" />
      <xs:enumeration value="Customer" />
      <xs:enumeration value="Vendor" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DlvDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery date:Transaction date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_LogisticsPostalAddress">
    <xs:sequence>
      <xs:element minOccurs="1" name="Location_LocationId" type="tns:AxdExtType_LogisticsLocationId" />
      <xs:element minOccurs="1" name="ValidFrom" type="tns:AxdExtType_EffectiveDateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_DriverContact_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Driver contact data:Driver contact data (phone, pager, etc.).</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DriverName_W">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Driver name:Vehicle driver's name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DrivingLicenseNum_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Driving license:Driving license number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSFreightChargeTerms">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Freight charge terms:Freight charge terms</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Prepaid" />
      <xs:enumeration value="Collect" />
      <xs:enumeration value="ThirdParty" />
      <xs:enumeration value="Nofreight" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSFreightCounted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Freight counted:Freight counted</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ByShipper" />
      <xs:enumeration value="ByDriverPallets" />
      <xs:enumeration value="ByDriverPieces" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LicenseCardNum_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number:License card number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LicenseCardRegNum_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Registration number:License card registration number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LicenseCardSeries_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Series:License card series.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LicenseCardType_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Standard" />
      <xs:enumeration value="Limited" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSSealId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Seal numbers:Identification of seals used.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSShipmentId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Shipment:Shipment ID in the warehouse system.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSTrailerId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Trailer number:Identification of the trailer</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSTrailerLoaded">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Trailer loaded:Trailer loaded</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ByShipper" />
      <xs:enumeration value="ByDriver" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TransportationPayer_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payer:The payer for the transportation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TransportationPayerType_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payer type:Payer type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Consignor" />
      <xs:enumeration value="Consignee" />
      <xs:enumeration value="ThirdParty" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TransportationType_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Transport type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TransportInvoiceId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document number:Transportation document number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TransportInvoiceType_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document type:Document type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Invoice" />
      <xs:enumeration value="JobTicket" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VehicleModel_W">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Model:Vehicle model.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WaybillNum_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Waybill:Waybill number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSReferenceType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Order type:Order type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Sales" />
      <xs:enumeration value="TransferOrderShipment" />
      <xs:enumeration value="ProductionLine" />
      <xs:enumeration value="Kanban" />
      <xs:enumeration value="ProductionOrder_RU" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSBOLAdditionalInfo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Additional shipper info:Additional information about bill of lading.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSHazardousMaterial">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Hazardous material:Is the item classified as hazardous material for transport?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSPackageType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit name:Unit name</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Carton" />
      <xs:enumeration value="Pallet" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_FormTextType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="LedgerCompanyFrontpage" />
      <xs:enumeration value="LedgerAuditorReport" />
      <xs:enumeration value="LedgerStatement" />
      <xs:enumeration value="LedgerAccountingPrinciples" />
      <xs:enumeration value="LedgerNotes" />
      <xs:enumeration value="CustInvoice" />
      <xs:enumeration value="CustCreditNote" />
      <xs:enumeration value="CustACStatement" />
      <xs:enumeration value="CustACStatementExt" />
      <xs:enumeration value="CustInterestNote" />
      <xs:enumeration value="CustCollectionLetter1" />
      <xs:enumeration value="CustCollectionLetter2" />
      <xs:enumeration value="CustCollectionLetter3" />
      <xs:enumeration value="CustCollectionLetter4" />
      <xs:enumeration value="CustCollectionLetter5" />
      <xs:enumeration value="Vendor" />
      <xs:enumeration value="VendACStatement" />
      <xs:enumeration value="SalesQuotation" />
      <xs:enumeration value="SalesConfirmation" />
      <xs:enumeration value="SalesPackingSlip" />
      <xs:enumeration value="SalesInvoice" />
      <xs:enumeration value="SalesCreditNote" />
      <xs:enumeration value="SalesInvoice4Paym_RU" />
      <xs:enumeration value="PurchPurchaseOrder" />
      <xs:enumeration value="Invent" />
      <xs:enumeration value="ProjectQuotation" />
      <xs:enumeration value="ProjectConfirmation" />
      <xs:enumeration value="ProjectPackingSlip" />
      <xs:enumeration value="ProjectInvoice" />
      <xs:enumeration value="ProjectAcontoInvoice" />
      <xs:enumeration value="ProjectCreditNote" />
      <xs:enumeration value="PayRoll" />
      <xs:enumeration value="HRMCourseConfirmation" />
      <xs:enumeration value="HRMCourse" />
      <xs:enumeration value="ReturnSendDocument" />
      <xs:enumeration value="ReturnAcknowledgement" />
      <xs:enumeration value="PurchRFQ" />
      <xs:enumeration value="PurchRFQAccept" />
      <xs:enumeration value="PurchRFQReject" />
      <xs:enumeration value="CompensationletterHeader" />
      <xs:enumeration value="CompensationletterReceivable" />
      <xs:enumeration value="CompensationletterPayable" />
      <xs:enumeration value="CompensationletterBalance" />
      <xs:enumeration value="RBOReceipt" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FormLetterTxt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Form note:Form text to be written in the requested form.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierResidentialDest">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Residential destination:Identifies ship via as "residential" to determine the remote delivery surcharge rate</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierFreightCollect">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Freight collect/third party:Carrier will bill a customer or a third party directly (requires carrier's account number for customer)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierCODAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">COD amount:COD amount calculated for the shipment</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierFreightAllowed">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Freight allowed:If selected, freight charges are included on the order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierAncillaryChg">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Charge ancillary charges:Include ancillary charges in the charges for an invoice</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierSaturdayDelivery">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Saturday delivery:If selected, the carrier will deliver the package on Saturday</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ShipCarrierInterfaceId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Carrier interface ID:Carrier interface ID</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ClipperShip" />
      <xs:enumeration value="FedEx" />
      <xs:enumeration value="UPS" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierUnitOfMeasure">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit of measure:The unit in which the weight is measured, for example, kilogram</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IsShipCarrierCOD">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">COD:If selected, payment is to be collected on delivery</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierShipViaCompany">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Ship via company:Index used by carrier software to identify which carrier service has been purchased</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierTrackingNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tracking number:Tracking number returned from the carrier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierPackageId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Package ID:ID assigned to the package (pallet ID)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="18" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierRate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Rate:Rate charged by the carrier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JournalDeletePostedLines">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delete lines after posting:Delete journal lines when posting is completed?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JournalDescription">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Description of the journal.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JournalDetailSummary">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Detail level:Specify summation level</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Detail" />
      <xs:enumeration value="Summary" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailReplenishmentRefId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Replenishment reference:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventDimFixed">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mandatory dimensions:Dimensions selected by the user.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PlInventDocType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inventory document type:Inventory document type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="empty" />
      <xs:enumeration value="PW" />
      <xs:enumeration value="RW" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchInventLocationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Warehouse:Identify the warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventJournalId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Journal:Identification of the journal.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventJournalIdOrignal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Original journal No.:Journal number that the lines are transferred from.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventJournalNameId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Identification of the journal name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventJournalType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Journal type:Journal type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Movement" />
      <xs:enumeration value="LossProfit" />
      <xs:enumeration value="Transfer" />
      <xs:enumeration value="BOM" />
      <xs:enumeration value="Count" />
      <xs:enumeration value="project" />
      <xs:enumeration value="TagCounting" />
      <xs:enumeration value="Asset" />
      <xs:enumeration value="PlExternalTransfer" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JournalPostedUserId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posted by:User who posted the journal.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="8" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ItemReservation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reservation:Reservation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Automatic" />
      <xs:enumeration value="Explosion" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RetailReplenishmentType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Replenishment type:Replenishment type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="CrossDocking" />
      <xs:enumeration value="BuyersPush" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailRetailStatusType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Retail status type:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Document" />
      <xs:enumeration value="Sent" />
      <xs:enumeration value="PartReceipt" />
      <xs:enumeration value="ClosedOk" />
      <xs:enumeration value="ClosedDifference" />
      <xs:enumeration value="Canceled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Storno_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Storno:Correction +/- (Debit/Credit) to transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JournalSystemBlocked">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Locked by system:Is journal locked by system?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventJournalVoucherChange">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">New voucher by:New voucher by</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="DateChange" />
      <xs:enumeration value="DateItemChange" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_JournalVoucherDraw">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Selection by:Selection by</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Entering" />
      <xs:enumeration value="Post" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CostAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cost amount:Cost value for quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CostMarkup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Charges on cost:Fixed charges on cost price, which are independent of quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemCostPrice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cost price:Item cost price used for posting</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyCounted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity counted:Quantity counted when counting the on-hand inventory</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyOnHand">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">On-hand:Physical on-hand inventory of the item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyJournal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Quantity to be posted</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JournalTransDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Date:Transaction date applying to the journal line.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LanguageTxtText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Text:Specify text in current language.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LanguageTxtRefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LanguageTxtRefTableId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference table ID:Table the transaction refers to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailVariantId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Variant number:Variant ID</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ForecastItemAllocationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item allocation key:Identification of the item allocation key.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DueDateLimitGroupId_ES">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Due date limit:The due date limit identifier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetGroupDepreciation_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Asset group depreciation:Depreciation applicable on the written down value of a block (group) of asset.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CountGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Counting group:Identification of counting group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWMaxStorageQuantity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Max. CW storage capacity:Maximum CW quantity at the picking location; used for automatic refill.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWPickingLocationRefillMin">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Required CW minimum:Minimum CW on-hand level before generating a refill.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSMaxStorageQuantity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Max. storage capacity:Maximum quantity at the picking location; used for automatic refill</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPickingLocationRefillMin">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Required minimum:Minimum on-hand level before generating a refill</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventInventLocationNo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use empty pallet location:Use empty pallet location</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="InventLocation" />
      <xs:enumeration value="No" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventInventLocationNoYes">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use consolidated picking method:Use consolidated picking method</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="InventLocation" />
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSLocationIdDefaultIssue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Default issue location:Location proposed for inventory issues of sales orders, production lines, etc. when nothing else is specified</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSLocationIdDefaultReceipt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Default receipt location:Location proposed for inventory receipts of purchase orders, productions, etc. when nothing else is specified</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPickingLocation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Picking location:Location from where the item is handled (picked)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSStoreZoneId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Store zone:Zone (area) in the inventory.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventLocationActivityType_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Activity category:Activity type of department responsible for the warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSEmptyPalletLocationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Empty pallet location:Location where empty pallets automatically are placed.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventCountingGroup_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Identification group:Identification group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="OwnStockInOtherPower" />
      <xs:enumeration value="OwnStock" />
      <xs:enumeration value="OtherStock" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventLocationIdGoodsInRoute_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Warehouse for items shipped:Warehouse used to store items shipped with postponed passing of property.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventLocationIdQuarantine">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quarantine warehouse:Identify the warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventLocationIdReqMain">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Main warehouse:Identify the warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventLocationIdTransit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transit warehouse:Warehouse used to identify and handle items in transit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventLocationLevel">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Warehouse level:Level in relation to the main warehouse where the warehouse is located.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventLocationType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Standard" />
      <xs:enumeration value="Quarantine" />
      <xs:enumeration value="Transit" />
      <xs:enumeration value="GoodsInRoute_RU" />
      <xs:enumeration value="PlExternalItems" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReqCovManual">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Manual:Are all items in the warehouse coverage planned manually (that is no planned orders, transactions and on-hand)?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TimeHour24">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:Time of day</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventLocationName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Description of the warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReqCalendarId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Calendar:Work-days calendar. Used to calculate order date, requirement date, and preferred delivery date.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReqRefill">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Refilling:Refill as per requirement via planned transfer from the main warehouse?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailInventNegFinancial">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Financial negative inventory:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailInventNegPhysical">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Physical negative inventory:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailWeightEx1">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Weight:The weight for allocating quantities by the replenishment rule.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventModelGroupNoYes">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use consolidated picking method:Use consolidated picking method</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ModelGroup" />
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendAccountCustom_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customs code:Vendor code with type customs.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSAisleNameActive">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Include aisle:Aisle is included in location name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSLevelFormat">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Format:Format for the part of the location name given by the shelf.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSLevelNameActive">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Include shelf:Shelf is included in location name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPositionFormat">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Format:Format for the part of the location name given by the bin</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPositionNameActive">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Include bin:Bin is included in location name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSRackFormat">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Format:Format for the part of the location name given by the rack</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSRackNameActive">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Include rack:Rack is included in location name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsIsPrimary">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Primary:Location is primary.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LogisticsLocationEntityType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Site" />
      <xs:enumeration value="Warehouse" />
      <xs:enumeration value="ApplicationBasket" />
      <xs:enumeration value="Party" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyArrived">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Arrived:Quantity arrived in the item reception</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyAvailPhysical">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Available physical:Physical quantity available</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyDeducted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Deducted:Quantity that has been physically deducted, but not posted.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DateExpected">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expected date:Date of expected movement</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DatePhysical">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Physical date:Date of physical transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyOnOrder">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">On order:Quantity on order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyOrdered">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Ordered:Quantity ordered</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyPhysicalOnhand">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Physical inventory:Physical quantity available from the inventory</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CostAmountPhysical">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Physical cost amount:Inventory value for the physically updated quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyPicked">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Picked:Quantity that has been picked</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyPosted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posted quantity:Financially entered quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CostAmountPosted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Financial cost amount:Inventory value for the financially updated quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyQuotationIssue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quotation issue:Quantity in quotation for issue</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyQuotationReceipt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quotation receipt:Quantity of receipts in quotation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyReceived">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Received:Physical quantity received, but not posted</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyRegistered">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Registered:Quantity that has been registered with the item reception</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyReservOrdered">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Ordered reserved:Quantity reserved on quantity ordered</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtyReservPhysical">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Physical reserved:Quantity reserved of the physical quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CostAmountAdjusted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Adjustment:Adjustment of cost amount.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CostAmountSettled">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount settled:Cost value that has been financially settled.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CostAmountStd">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fixed receipt price value:Standard cost price of the transaction, converted to cost value</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DateFinancial">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Financial date:Date of financial transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DateInvent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inventory date:Date on which items have been registered or picked</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DateStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status date:Date attached to transaction status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransGroupRefId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Grouping reference:Grouping reference.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventTransGroupRefType_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Grouping reference type:Grouping reference type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="CommissionAgentTrans" />
      <xs:enumeration value="InventBaileeCalc" />
      <xs:enumeration value="CustomJournalGIT" />
      <xs:enumeration value="CustomJournalStd" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWSettled">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CW settled:Catch weight settled quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPickingRouteID">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Picking route:Identification of picking route</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjAdjustRefId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Adjustment number:Project adjustment reference.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventQtySettled">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Settled quantity:Quantity that has been settled financially.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AmountMSTPhysicalRevenue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Physical revenue:Physical revenue that has been posted in connection with the packing slip update</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_StatusIssue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Issue status:Issue status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Sold" />
      <xs:enumeration value="Deducted" />
      <xs:enumeration value="Picked" />
      <xs:enumeration value="ReservPhysical" />
      <xs:enumeration value="ReservOrdered" />
      <xs:enumeration value="OnOrder" />
      <xs:enumeration value="QuotationIssue" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_StatusReceipt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Receipt status:Receipt status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Purchased" />
      <xs:enumeration value="Received" />
      <xs:enumeration value="Registered" />
      <xs:enumeration value="Arrived" />
      <xs:enumeration value="Ordered" />
      <xs:enumeration value="QuotationReceipt" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TimeExpected">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Estimated time:Scheduled time of receipt or issue of the item requirement</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransChildRefId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inventory number:Inventory order number processing the transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventTransChildType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inventory reference:Inventory reference</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="WMSOrder" />
      <xs:enumeration value="ProdJournalBOM" />
      <xs:enumeration value="ProdJournalProd" />
      <xs:enumeration value="DEL_InventJournalPickingList" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventTransOpen">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Open:Open</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
      <xs:enumeration value="Quotation" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VoucherPhysical">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Physical voucher:Voucher number attached to the physical update</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BarcodeSetupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bar code setup:Select or view the bar code setup ID</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UseForPrinting">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">To be printed:Used when printing</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UseForInput">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Scanning:Used for scanning items with us</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BarcodeType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bar code type:Bar code type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NoBarcode" />
      <xs:enumeration value="EAN128" />
      <xs:enumeration value="Code39" />
      <xs:enumeration value="Interleaved2of5" />
      <xs:enumeration value="Code128" />
      <xs:enumeration value="UPCA" />
      <xs:enumeration value="UPCE" />
      <xs:enumeration value="EAN13" />
      <xs:enumeration value="EAN8" />
      <xs:enumeration value="PDF417" />
      <xs:enumeration value="Maxicode" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FontName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Font:The font that is installed in Windows.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="32" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FontSize">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Size:Font size</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MinimumLength">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Minimum length:Minimum length allowed</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MaximumLength">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Maximum length:Maximum length allowed</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ConfigIdAlternative">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Alternative configuration:Alternative configuration is used in order entry.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemIdAlternative">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Alternative item number:Alternative inventory number is used for order entry.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RAssetMainGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">FA group:identifier of FA group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemAutoReportFinished">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Auto-report as finished:Activate automatic report as finished in connection with transactions for the item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventNumGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number group:Identification of number group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMCalcGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Calculation group:Identification of the calculation group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemBOMLevel">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Level:Calculated BOM level on latest requirement calculation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemBOMManualReceipt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Arrival:Manually enter material profit for this item for a production?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BOMUnitId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit:BOM consumption unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CommissItemGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Commission item group:Identification of commission item group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CostGroupIdDirectMaterial">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cost group:Identification of the cost group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemCostModel">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Latest cost price:Update the item automatically with latest cost price?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EPCManager">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">EPC manager:The EPC manager of the item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ExceptionCode_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exception code:Fiscal classification exception code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EximProductGroup_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product group:Unique identification of the product group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventFiscalLIFOAvoidCalc">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Avoid LIFO calculation:Exclude items from fiscal LIFO calculation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventFiscalLIFONormalValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Normal value:Normal value for the group or item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventFiscalLIFONormalValueCalc">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Normal value calculation:Normal value calculation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Never" />
      <xs:enumeration value="Manual" />
      <xs:enumeration value="Automatic" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventDepth">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Depth:Standard depth</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventHeight">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Height:Standard height</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventWidth">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Width:Standard width</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ICMSonService_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ICMS on service:ICMS tax applied on service item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatConvert">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Additional units:Quantity of additional units per inventory unit, used for Intrastat.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventFiscalLIFOGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fiscal LIFO reporting group:Identification of fiscal LIFO reporting group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventProductTypeId_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product type:Unique ID to identify the product type.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemBuyerGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Buyer group:Identification of the buyer group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemDimCostPrice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use cost price by variant:Activate, use, and maintain cost prices for product variants.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemPriceToleranceGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item price tolerance group:Identification of item price tolerance group for accounts payable invoice matching</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RFIDItemTaggingLevel">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item tagging level:Item tagging level</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="ItemLevel" />
      <xs:enumeration value="CaseLevel" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ItemType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item type:Item type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Item" />
      <xs:enumeration value="DEL_BOM" />
      <xs:enumeration value="Service" />
      <xs:enumeration value="DEL_Formula" />
      <xs:enumeration value="DEL_Asset_RU" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PurchMatchingPolicyWithNotSetOption">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line matching policy:Line matching policy</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NotSet" />
      <xs:enumeration value="ThreeWayMatch" />
      <xs:enumeration value="TwoWayMatch" />
      <xs:enumeration value="NoMatch" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemNameAlias">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Search name:Find fast name applying to the item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemNetWeight">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Net weight:Net weight of inventory item for one inventory unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LvNRTaxGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Natural resource tax group:Group identifier.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemOrigCountyId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">County:County of origin of the current inventory item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemPackagingGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Packing group:Identification of the packing group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemPackingType_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type of packing:Type of packing in a packing slip.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PBAAutostart">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Autostart configuration:Autostart of configuration dialog when entering a modeling enabled item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PBAHideApproval">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Hide approval dialog:Hide approval dialog after acknowledgement of configuration details</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PBAHideDialog">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Hide dialog box:Hide dialog for automatic configuration based on default values</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PBAInventItemGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product model group:Identification of the item product model group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PBAItemAutoGenerated">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Autogenerated:Generated item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PBAMandatoryConfig">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mandatory configuration:Check item lines for complete configuration details</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PDSBaseAttributeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Base attribute:Define the base attributes for the item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsLeadTimeBest">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Lead time:Best before.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsFreightAllocationGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Freight allocation group:Freight allocation unique ID.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsItemRebateGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item rebate group:Group of item for which a rebate is applicable.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PDSPotencyAttribRecordingEnum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Record the attribute value:Record the attribute value</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="PurchProdReceipt" />
      <xs:enumeration value="Quality" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsLeadTimeAdvice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Lead time:Lead time advice.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsLeadTimeLife">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Lead time:Lead time life.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PDSTargetFactor">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Target:Target value for the batch attribute selected as the potency base attribute</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="6" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PdsVendorCheckItem">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Approved vendor check method:Approved vendor check method</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NoCheck" />
      <xs:enumeration value="WarningOnly" />
      <xs:enumeration value="NotAllowed" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemPhantom">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Phantom:Propose item as phantom item in bills of materials?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PmfPlanningItemId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Planning formula:Default planning formula.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PmfProductType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Production type:Production type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Co_Product" />
      <xs:enumeration value="By_Product" />
      <xs:enumeration value="None" />
      <xs:enumeration value="MainItem" />
      <xs:enumeration value="BOM" />
      <xs:enumeration value="Formula" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemPrimaryVendId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Vendor:Primary vendor for planned purchase order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ProdFlushingPrincipItem">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Flushing principle:Flushing principle</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Start" />
      <xs:enumeration value="Finish" />
      <xs:enumeration value="Manual" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemProdGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Production group:Production group proposed when creating productions for the item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemProdPoolId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Production pool:Pool proposed when creating productions for the item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PropertyIdItem">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Property:Necessary property when producing the item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemPurchModel">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Latest purchase price:Update the item automatically with latest purchase price?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReqGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Coverage group:Identification of the coverage group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PlSADRateCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">SAD group:Code of item group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemSalesContributionRatio">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Contribution ratio:Contribution ratio to be used when calculating sales price</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemSalesModel">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales price model:Calculate sales price of the item by which model?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Contributionratio" />
      <xs:enumeration value="PercentMarkup" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemSalesPercentMarkup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Charges percentage:Charges percentage to be used when calculating sales price</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SalesPriceModelBasic">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Base price:Base price</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="PurchPrice" />
      <xs:enumeration value="CostPrice" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SkipIntraCompanySync_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Disable intracompany synchronization:Disable intracompany synchronization for agreement line.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSSortCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sort code:Sort order of locations.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ConfigIdStandard">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Default configuration:Configuration proposed for item transactions</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatMarkupPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Charges percentage:Portion of the amount in hundredths</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemTaraWeight">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tare weight:The tare weight of the item for an inventory unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_FITaxationOrigin_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Taxation origin:Taxation origin</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="National" />
      <xs:enumeration value="DirectImport" />
      <xs:enumeration value="Import" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxFiscalClassificationId_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fiscal classification code:Specify the fiscal classification code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxPackagingQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Packing quantity:Quantity of which packing duty is to be calculated. The quantity is stated per inventory unit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemVolume">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Volume:Volume in cubic meters of an inventory unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemUseAlternative">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use alternative:When should alternative item number be used?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Never" />
      <xs:enumeration value="InventWhen0" />
      <xs:enumeration value="Always" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSArrivalHandlingTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Arrival handling time:Time used to arrival update per inventory standard order quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesATPApplyDemandTimeFence">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ATP delayed demand offset time:Time period in days, going forward from today, when delayed demand orders are considered as issues. This applies only if the delivery date control is set to ATP or ATP + Issue margin.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesATPApplySupplyTimeFence">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ATP delayed supply offset time:Time period in days, going forward from today, when delayed supply orders are considered as receipts. This applies only if the delivery date control is set to ATP or ATP + Issue margin.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesATPBackwardDemandTimeFence">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ATP backward demand time fence:Time period in days, going backward from today, for considering delayed demand orders in ATP calculation. This applies only if the delivery date control is set to ATP or ATP + Issue margin.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesATPBackwardSupplyTimeFence">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ATP backward supply time fence:Time period in days, going backward from today, for considering delayed supply orders in ATP calculation. This applies only if the delivery date control is set to ATP or ATP + Issue margin.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesATPInclPlannedOrders">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ATP incl. planned orders:If selected, planned orders are included in the ATP calculation. This applies only if the delivery date control is set to ATP or ATP + Issue margin.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="false" />
      <xs:enumeration value="true" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesATPTimeFence">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ATP time fence:Time period in days, going forward from today, for calculating ATP. This applies only if the delivery date control is set to ATP or ATP + Issue margin.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SalesDeliveryDateControlType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery date control:Delivery date control</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="SalesLeadTime" />
      <xs:enumeration value="ATP" />
      <xs:enumeration value="ATPPlusIssueMargin" />
      <xs:enumeration value="CTP" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LeadTimeSalesDefault">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales lead time:Default lead time or lead time in number of days</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemStopped">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Stopped:Is the item on hold for transactions?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CalendarDays">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Working days:Are days specified in the working days calendar?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LeadTimeInventDefault">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inventory lead time:Default lead time or lead time in number of days</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventModelGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item model group:Identification of item model group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWQtyHighest">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Maximum quantity:Maximum quantity applying to catch weight enabled item transactions.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWQtyLowest">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Minimum quantity:Minimum quantity applying to catch weight enabled item transactions.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWUnitId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CW unit:Catch weight unit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_ActivationDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Activation date:Start DateTime help text</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_WMSAutoDecreaseQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Automatically decrease quantity:Adjusting the quantity on one line automatically decreases the quantities on the other lines within the same picking route</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_WMSCustomer_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_WMSCustomer tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSCustomer">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer:Customer reference</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSDeliveryName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSDlvDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Requested ship date:The date goods should be shipped on, in order to meet the requested receipt date.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_DlvTermId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_DlvTermId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:complexType name="AxdExtType_EndDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">End date/time:End Datetime help text</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_WMSExpeditionTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Handling time:Time used for handling.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSExpeditionStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Handling status:Handling status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Registered" />
      <xs:enumeration value="DEL_Reserved" />
      <xs:enumeration value="Activated" />
      <xs:enumeration value="Started" />
      <xs:enumeration value="Picked" />
      <xs:enumeration value="Staged" />
      <xs:enumeration value="Loaded" />
      <xs:enumeration value="Complete" />
      <xs:enumeration value="Cancelled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSHandlingType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mode of handling:Mode of handling</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Online" />
      <xs:enumeration value="Document" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSOptimizedPicking">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Optimized picking:The picking route only contains lines that can be picked through guided picking. There are no lines with service items and no items without location.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPickingAreaId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Picking area:Picking area ID in the location system.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPriority">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Priority:Priority of the picking route</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSShipmentType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Shipment type:Shipment type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ConsolidatedPick" />
      <xs:enumeration value="OrderPick" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_StartDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Start date/time:Start DateTime help text</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_InventTransType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Sales" />
      <xs:enumeration value="Production" />
      <xs:enumeration value="Purch" />
      <xs:enumeration value="InventTransaction" />
      <xs:enumeration value="InventLossProfit" />
      <xs:enumeration value="InventTransfer" />
      <xs:enumeration value="SummedUp" />
      <xs:enumeration value="ProdLine" />
      <xs:enumeration value="BOMLine" />
      <xs:enumeration value="BOMMain" />
      <xs:enumeration value="WMSOrder" />
      <xs:enumeration value="Project" />
      <xs:enumeration value="InventCounting" />
      <xs:enumeration value="WMSTransport" />
      <xs:enumeration value="QuarantineOrder" />
      <xs:enumeration value="Asset" />
      <xs:enumeration value="TransferOrderShip" />
      <xs:enumeration value="TransferOrderReceive" />
      <xs:enumeration value="TransferOrderScrap" />
      <xs:enumeration value="SalesQuotation" />
      <xs:enumeration value="QualityOrder" />
      <xs:enumeration value="Blocking" />
      <xs:enumeration value="KanbanJobProcess" />
      <xs:enumeration value="KanbanJobTransferReceipt" />
      <xs:enumeration value="KanbanJobTransferIssue" />
      <xs:enumeration value="KanbanJobPickingList" />
      <xs:enumeration value="KanbanJobWIP" />
      <xs:enumeration value="KanbanEmptied" />
      <xs:enumeration value="PmfProdCoBy" />
      <xs:enumeration value="ProdRelease_RU" />
      <xs:enumeration value="FixedAssets_RU" />
      <xs:enumeration value="Statement" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSFullPallet">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Pallet load:Handle line as pallet load?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSIsReserved">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reserved:Is related inventory transactions reserved physical or reserved ordered on picking location.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSOrderId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inventory order:Identification of the inventory order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WMSOrderType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Output" />
      <xs:enumeration value="NotUsed" />
      <xs:enumeration value="Transport" />
      <xs:enumeration value="OrderPick" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPickPalletId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Picking pallet:Unique ID for the pallet (Serial Shipping Container Code)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="18" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWZeroCWLine">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Zero CW line:Is this line a CW line with 0 CW quantity?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSPickingLineQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Quantity of the item in inventory unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSRouteId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Route:Picking route or pallet transport.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSShipmentIdOriginal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Original shipment:The shipment that the line was originally related to before it was moved to the new shipment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransIdReturn">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Return lot ID:Lot ID for items being returned</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCopyBatchAttrib">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Copy batch attributes:Copy batch attributes from 'from' batch to 'to' batch?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransIdTo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Receive lot ID:Identification of the receive lot.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferAutoReservation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reserve items automatically:Reserve items automatically?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_InventTransferDlvModeId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_InventTransferDlvModeId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferDlvModeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mode of delivery:Specify mode of delivery for the current transfer order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_InventTransferDlvTermId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_InventTransferDlvTermId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferDlvTermId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery terms:Specify terms of delivery for the current transfer order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_FreightSlipType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Call tag type:Call tag type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="UPS" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FreightZoneId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">UPS zone:Identification of UPS zone.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventLocationIdFrom">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">From warehouse:Identify the warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventLocationIdTo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">To warehouse:Identify the warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventProfileUseRelated_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use compatible inventory profiles:Allow to use inventory profiles in order lines compatible with the inventory profile specified in the order?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferPartyAccount_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Partner code:A code of an appropriate counteragent.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsOverrideFEFO">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Override FEFO date control:Determine whether Reservation logic for Transfer Orders should follow FEFO logic.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferReceiveDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Receipt date:Item receive date for the transfer order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferShipDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Ship date:Item shipment date for the transfer order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transfer number:Identification of the transfer order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventTransferStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transfer status:Transfer status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Created" />
      <xs:enumeration value="Shipped" />
      <xs:enumeration value="Received" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TransferType_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transfer type:Transfer type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="TransferOrder" />
      <xs:enumeration value="StockTransfer" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventTransferType_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type of transfer:Type of transfer</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Standard" />
      <xs:enumeration value="IssueToParty" />
      <xs:enumeration value="ReceiptFromParty" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VehiclePlateNum_W">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Registration number:Registration number of vehicle</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_DirectSettlement_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Direct settlement:Direct settlement</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="RG23A" />
      <xs:enumeration value="RG23C" />
      <xs:enumeration value="PLA" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransIdShipment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Shipment lot ID:Identification of the shipment lot.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransIdReceive">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Receive lot ID:Identification of the receive lot.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransIdScrap">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Scrap lot ID:Identification of the scrap lot.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransIdReceiveTransit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transit receive lot ID:Identification of the receive lot on transit warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransIdShipmentTransit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transit shipment lot ID:Identification of the shipment lot on transit warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CostPrice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cost price:Run-dependent cost price per unit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LineAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount:The amount in the transaction currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_NetAmount_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Net amount:Net amount per line</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferOverDeliveryPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Overdelivery:The percentage by which the product receipt quantity is allowed to exceed the order quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWQtyReceived">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CW received:Catch weight received quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWQtyReceiveNow">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CW receive now:Catch weight receive now quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWQtyRemainReceive">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CW receive remain:Catch weight receive remaining quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWQtyRemainShip">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CW ship remain:Catch weight remaining quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWQtyScrapped">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CW scrapped qty:Catch weight scrapped quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWQtyShipNow">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CW ship now:Catch weight ship now quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWQtyShipped">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CW shipped:Catch Weight shipped quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWQtyTransfer">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CW transfer qty:Catch weight transfer quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceCur">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price:Run-dependent price per unit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PriceType_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price type:Price type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="CostPrice" />
      <xs:enumeration value="TransferPrice" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferQtyReceived">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Received quantity:Totally received transfer quantity incl. scrap.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferQtyRemain">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Remaining quantity:Remaining ship or receive quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferQtyScrapped">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Scrapped quantity:Received transfer quantity which have been scrapped.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferQtyShipped">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Shipped quantity:Shipped transfer quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transfer quantity:Ordered transfer quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventTransferRemainStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Remaining:Remaining</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Receiving" />
      <xs:enumeration value="Shipping" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailAreaId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Area:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetentionAmt_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Retention %:Enter the percentage of VAT amount to be retained.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferUnderDeliveryPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Underdelivery:The percentage by which the product receipt quantity is allowed to be less than the order quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_InventUnitId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_InventUnitId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventUnitId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inventory unit:Unit symbol</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UnitPrice_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit price:Cost price or transfer price per unit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferAutoReceiveQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Autoreceive:Automatically perform the receipt to warehouse when shipment is posted</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferEditLines">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Edit lines:Should it be possible to edit the lines before posting and updating?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ParmJobStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Job status:Job status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Executed" />
      <xs:enumeration value="ContainErrors" />
      <xs:enumeration value="Waiting" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventTransferPickUpdateQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Update:Update</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ShipNow" />
      <xs:enumeration value="All" />
      <xs:enumeration value="ReservedQty" />
      <xs:enumeration value="AvailableQty" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventTransferReceiveUpdateQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Update:Update</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ReceiveNow" />
      <xs:enumeration value="All" />
      <xs:enumeration value="Shipment" />
      <xs:enumeration value="Registered" />
      <xs:enumeration value="DocumentReturn_RU" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferReservation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reservation:Reserve the transaction in the inventory.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventTransferShipUpdateQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Update:Update</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ShipNow" />
      <xs:enumeration value="All" />
      <xs:enumeration value="ReservedQty" />
      <xs:enumeration value="AvailableQty" />
      <xs:enumeration value="PickedQty" />
      <xs:enumeration value="DocumentReturn_RU" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferTrackingId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tracking ID:ID used to track a transfer order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InventTransferUpdateType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Update type:Update type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Shipment" />
      <xs:enumeration value="Receive" />
      <xs:enumeration value="PickingList" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PrintMgmtUsePrintManagementDestination">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use print management destination:Use printer setup from Print management</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferVoucherId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Voucher:Used ledger-posting voucher number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferCloseLine">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Close:Last update.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransIdTransit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transit lot ID:Identification of the transit lot.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWQtyScrapNow">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CW scrap now:Catch weight quantity to be scrapped.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventTransferQtyScrap">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Scrap quantity:Received error quantity which must be scrapped.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_DocumentStatus_LT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document status:Document status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Canceled" />
      <xs:enumeration value="Broken" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LtDocNumberingCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Numbering:Sequence code for automatic document numeration.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_DiscountOffsetMethod">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount offset accounts:Discount offset accounts</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="AccountReceived" />
      <xs:enumeration value="InvoiceAccount" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PositiveDays">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Days:Positive number of days.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PositiveMonths">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Months:Number of months</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CurrencyCodeISO">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ISO currency code:Currency code according to the standard of the International Standards Organization (ISO).</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CurrencyName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Describe the current currency/exchange rate.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankCurrencyTransferId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Currency transfer order:Application for the purchase of funds in hard currency document number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerVoucherTypeId_CN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Voucher type:Name of the voucher type.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_Tax1099Type">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type of Tax 1099 form:Type of Tax 1099 form</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="F1099DIV" />
      <xs:enumeration value="F1099INT" />
      <xs:enumeration value="F1099MISC" />
      <xs:enumeration value="F1099OID" />
      <xs:enumeration value="F1099G" />
      <xs:enumeration value="F1099S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Tax1099Box">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">1099 box:Box code on the 1099 form that the total amount is posted to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_Tax1099Fields">
    <xs:sequence>
      <xs:element minOccurs="1" name="Tax1099Type" type="tns:AxdEnum_Tax1099Type" />
      <xs:element minOccurs="1" name="Tax1099Box" type="tns:AxdExtType_Tax1099Box" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_InvoiceSlipDeclarationId_IS">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice declaration:Classification of vendor invoices used for instance for reporting to authorities.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustVendPaymFeeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fee ID:Identification of the kind of fee.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymFeeValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fee amount:The size of the fee in percent of the payment or amount for one payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ExchangeRateTypeName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exchange rate type:The identification of the exchange rate type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ExchangeRateDisplayFactor">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quotation unit:Quotation unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="One" />
      <xs:enumeration value="Ten" />
      <xs:enumeration value="Hundred" />
      <xs:enumeration value="Thousand" />
      <xs:enumeration value="TenThousand" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CurrencyExchangeRate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exchange rate:The currency exchange rate</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="12" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_ItemIdSmall_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_ItemIdSmall tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemIdSmall">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item number:Identify item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchLineDisc">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount:Line discount in amount per price unit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchLinePercent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount percent:Line discount percentage.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchMultiLnDisc">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Multiline discount:Multiline discount per price unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchMultiLnPercent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Multiline discount percentage:The multiline discount percentage</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product name:Description of the item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase order:Identification of the purchase.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchPrice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase price:Run-dependent price per unit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendCashDiscAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash discount amount:Cash discount amount included in the vendor transaction when invoicing.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendCashDiscDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash discount date:Cash discount date to be used when creating vendor transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CashDiscDue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash discount due:Cash discount due</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="CashDisc" />
      <xs:enumeration value="Due" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DimensionDisplayValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Ledger account:The account number, including financial dimensions</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="500" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_VendCurrencyCode_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_VendCurrencyCode tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendCurrencyCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Currency:Current currency code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendInvoiceId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice:Identification of the invoice.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendSettleParentRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference record ID:Reference to record ID of vendor transactions.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_AllEvenOdd">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">All/Even/Odd:All/Even/Odd</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="All" />
      <xs:enumeration value="Even" />
      <xs:enumeration value="Odd" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_StreetNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Street No.:Address number on the street</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_StreetName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Street :Street for ZIP/postal code, if needed.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressStatename">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Name of the state.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressPropertiesId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Address property record Id:Reference to the address property record</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxRep347CountyCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Code:County code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressCountyName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:County name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressCityDescr">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Description of a city</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressCityName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">City:The name of a city</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressDistrictDescr">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Description of a district</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AdditionalMonths">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Additional months:Day of the month after which the value for additional months is applied while calculating payment due dates</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Cash">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash payment:Should COD payments be in cash and not by check?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CreditCardCreditCheck">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Credit check:Credit check</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Normal" />
      <xs:enumeration value="ByPass" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CreditCardPaymentType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment type:Payment type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NA" />
      <xs:enumeration value="CreditCard" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PaymentDueDateUpdatePolicy">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NoUpdate" />
      <xs:enumeration value="Next" />
      <xs:enumeration value="Previous" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymCutOffDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cutoff day:Set cutoff day of payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymDayId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment day:Identification of payment days</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PaymMethod">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment method:Method of payment, for instance net, current month or current quarter.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Net" />
      <xs:enumeration value="CurrentMth" />
      <xs:enumeration value="CurrentQuart" />
      <xs:enumeration value="CurrentYear" />
      <xs:enumeration value="CurrentWeek" />
      <xs:enumeration value="COD" />
      <xs:enumeration value="DEL_CutOffDate_JP" />
      <xs:enumeration value="CutOffDate" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PostOffsettingAR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Post offsetting entries for accounts receivables:Select this check box to print all accounts receivable transactions with a COD payment method on the Italian Fiscal journal report.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierAncillaryCharge">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Charge ancillary charges:Include ancillary charges in the charges for an invoice</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierCertifiedCheck">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Certified company check:Check this box if the carrier must be paid by certified check</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UseDeliveryDateForDueDate_ES">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use the delivery date to calculate the payment due date:Calculate the due date by applying terms of payment to the delivery date instead of the invoice date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PayrollPayCycleId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Pay cycle:The code that groups positions and workers for payroll processing</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PeriodEnd">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">End:Date of period's close</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_PayrollPayPeriod">
    <xs:sequence>
      <xs:element minOccurs="1" name="PayCycle_PayCycleId" type="tns:AxdExtType_PayrollPayCycleId" />
      <xs:element minOccurs="1" name="PeriodEndDate" type="tns:AxdExtType_PeriodEnd" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_PayrollEarningAccountingCurrencyAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount:The quantity multiplied by the rate</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PayrollEarningCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Earning code:The code that defines the type of earnings</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PayrollEarningStatementId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Earnings statement number:This number is determined by the number sequence assigned to the earning code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjActivityId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Activity:Identification of project activity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Project unit quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmBenefitPlanId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Plan:The name of the benefit plan</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmBenefitOptionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Option:The name of the benefit option</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_HcmBenefit">
    <xs:sequence>
      <xs:element minOccurs="1" name="BenefitPlan_BenefitPlanID" type="tns:AxdExtType_HcmBenefitPlanId" />
      <xs:element minOccurs="1" name="BenefitOption_BenefitOptionID" type="tns:AxdExtType_HcmBenefitOptionId" />
      <xs:element minOccurs="1" name="ValidFrom" type="tns:AxdExtType_ValidFromDateTime" />
      <xs:element minOccurs="1" name="ValidTo" type="tns:AxdExtType_ValidToDateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdEntityKey_PayrollWorkerTaxRegion">
    <xs:sequence>
      <xs:element minOccurs="1" name="TaxRegion_LogisticsLocation_LocationId" type="tns:AxdExtType_LogisticsLocationId" />
      <xs:element minOccurs="1" name="Worker_PersonnelNumber" type="tns:AxdExtType_HcmPersonnelNumberId" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdUnion_AxdExtType_PriceDiscAccountRelation_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_PriceDiscAccountRelation tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceAgreement">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price agreements:Agreement number of price/discount agreement</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Days">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Days:Day of year</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DisregardLeadTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Disregard lead time:If this check box is selected, delivery date control is applied to the order lines. However, lead time may still be used by master scheduling.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesGenericCurrency">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Include generic currency:Include trade agreements defined for the generic currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventBaileeFreeDays_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Free days:Free days of storage.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_PriceDiscItemRelation_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_PriceDiscItemRelation tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceDiscJournalNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price/discount journal number:Identification of the journal.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceJournalLogTrans">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Log:Error log attached to the transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceMarkup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price charges:Fixed charges on price, applied once for each invoice</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PDSCalculationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Attribute-based pricing ID:Set the unique identifier for a given calculation formula.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdJournalAcceptError">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Accept error:Accept missing feedback for resource and item consumption.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdAutoReportFinished">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Automatic report as finished:Should feedback for the last operation automatically be production reported as finished?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventDrawNegative">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Pick negative:Allow negative picking in physical inventory when posting?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdEndJob">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">End job:Execute end job?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdInventControlProposal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inv.-manage planned order qty.:Should planned order quantity manage and appreciate the attached inventory transactions?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdJournalId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Journal:Identification of the journal.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdJournalIdOriginal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Original journal No.:Journal number that the lines are transferred from.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdJournalNameId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Identification of the journal name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdJournalNameIdBOM">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Picking list:Journal name of the picking list journal</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdJournalNameIdProd">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Report as finished:Journal name of the reported as finished journal</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ProdJournalType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Journal type:Journal type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Picklist" />
      <xs:enumeration value="ReportFinished" />
      <xs:enumeration value="RouteCard" />
      <xs:enumeration value="JobCard" />
      <xs:enumeration value="DEL_PmfCoByProduct" />
      <xs:enumeration value="ReleaseFromProduction_RU" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_OprNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Oper. No.:Number for determining sequence in routes</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWBatchErr">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CW error qty:Catch weight batch reported error.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWBatchGood">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CW good qty:Catch weight batch reported good.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdAutoPicklist">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Automatic BOM consumption:Should BOM consumption for current production automatically be picking list updated?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Production:Identify the production order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdReportedError">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Error quantity:Error quantity items.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdReportedGood">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Good quantity:Good quantity items</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventReducePhysical">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Physical reduction:Automatically reduce item consumption to physical inventory in case of stockout?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdRefPurchId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase order:Reference purchase order if the picking list journal is connected to a purchase order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdRouteAutoPickList">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Automatic BOM consumption:Should BOM consumption for current operations automatically be picking lists updated?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ProdJournalVoucherChange">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">New voucher by:New voucher by</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="DateProdChange" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdJournalVoucherSeqRefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Voucher series:Voucher series to be used in journals with the journal name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdJournalWaitLineCreate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Waiting for creation:Waiting for automatic creation and posting of lines.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmActivityNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Activity number:The activity number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UnitQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit quantity:Number of units</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ProdErrorCause">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Error cause:Error cause</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Material" />
      <xs:enumeration value="Machine" />
      <xs:enumeration value="OperatingStaff" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventReturnFlag">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Return:Is the line a reversal?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdJournalIdBOM">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Picking list journal:Identification of the journal.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjSalesCurrencyCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales currency:Currency in which the project is invoiced.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjSalesPriceCost">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales price:Sales price per unit calculated in the current sales currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjItemTransId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction ID:Identification of transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdJournalVoucherId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Voucher:Voucher number in ledger.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjCashDiscAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash discount:Cash discount amount included in the customer transaction when invoicing.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjCashDiscCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash discount:Terms of cash discount for the current invoice.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjCashDiscDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash discount date:Date for calculation of cash discount.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CostAmountProject">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cost amount:Cost value for quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_ProjSalesCurrencyCode_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_ProjSalesCurrencyCode tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LvIntrastatAddValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Intrastat additional value:The additional value to be distributed equally among the lines to calculate the statistical value</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RoundOff">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Round-off:The amount in the transaction currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LtDocStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document status:Document status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Canceled" />
      <xs:enumeration value="Broken" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjLanguageId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Language:Select the language for the current text.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="7" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjPaymCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Terms of payment:Code for the terms of payment</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerPostingJournalId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Journal:Journal name used when posting to journals.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PrintedOriginals">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Originals printed:Number of invoice originals printed.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Project group:Group number that is used for reference.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjInvoiceId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice:Project - invoice number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ProjInvoiceType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice type:Invoice type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Invoice" />
      <xs:enumeration value="OnAccount" />
      <xs:enumeration value="DebitNote_BR" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjProposalId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice proposal:Identification of the invoice.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PSAInvoiceFormats">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice formats:Invoice formats</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="DetailInvoice" />
      <xs:enumeration value="SummaryInvoice" />
      <xs:enumeration value="SummaryByCategory" />
      <xs:enumeration value="ManageInvoice" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CzSalesDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales date:Transaction date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMASpecIndexCalc">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Specify index calculation:Should index calculation be specified.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupSumSales">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Total charges:The total incidental cost of product delivery</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxPrintOnInvoice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Write on invoice:Write marking on invoice.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EUROTriangulation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Triangulation:Specify whether the exchange rate is included in triangulation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LtDocOriginator">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document author:Document author</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Company" />
      <xs:enumeration value="Customer" />
      <xs:enumeration value="Vendor" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjSalesAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales amount:The total of sales price multiplied by quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PSAContractLineNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Billing rule:Billing rule identifier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjQtyCost">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Number of units for the transaction line</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjTransDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Project date:Project transaction date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjCostTransId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction ID:Identification of transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjQtyEmpl">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Hours:Show cost transactions for the projects.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjEmplTransId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction ID:Identification of transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CommissAmountMST">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Commission:The transaction amount, in the accounting currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CommissCalc">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Calculated commission:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ProjItemType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction origin:Transaction origin</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Project" />
      <xs:enumeration value="SalesOrder" />
      <xs:enumeration value="InventJournal" />
      <xs:enumeration value="PurchOrder" />
      <xs:enumeration value="Production" />
      <xs:enumeration value="ProdLine" />
      <xs:enumeration value="BeginningBalance" />
      <xs:enumeration value="VendorInvoice" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ProjLedgerStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Ledger status:Ledger status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="BalanceSheet" />
      <xs:enumeration value="Operations" />
      <xs:enumeration value="Never" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesLineDisc">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount:Line discount in amount per price unit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesLinePercent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount percent:Line discount percentage.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesMarkup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales charges:Fixed charges on price, applied once for each invoice</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjTransactionOrigin">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction origin:Which function created the transaction?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="HourJournal" />
      <xs:enumeration value="CostJournal" />
      <xs:enumeration value="GeneralJournal" />
      <xs:enumeration value="InvoiceJournal" />
      <xs:enumeration value="InvoiceApprovalJournal" />
      <xs:enumeration value="ExpenseManagement" />
      <xs:enumeration value="EliminationInvestment" />
      <xs:enumeration value="EstimateAccruedLoss" />
      <xs:enumeration value="ItemJournal" />
      <xs:enumeration value="PurchaseOrder" />
      <xs:enumeration value="ItemRequirement" />
      <xs:enumeration value="SalesOrder" />
      <xs:enumeration value="ProductionFinished" />
      <xs:enumeration value="ProductionConsumed" />
      <xs:enumeration value="FeeJournal" />
      <xs:enumeration value="EstimateFee" />
      <xs:enumeration value="Subscription" />
      <xs:enumeration value="Prepayment" />
      <xs:enumeration value="Deduction" />
      <xs:enumeration value="Milestone" />
      <xs:enumeration value="Invoice" />
      <xs:enumeration value="InventoryClosing" />
      <xs:enumeration value="Adjustment" />
      <xs:enumeration value="PostCost" />
      <xs:enumeration value="AccrueRevenue" />
      <xs:enumeration value="PostEstimate" />
      <xs:enumeration value="ReverseEstimate" />
      <xs:enumeration value="EliminateEstimate" />
      <xs:enumeration value="ReverseElimination" />
      <xs:enumeration value="AccrueSubscriptionRev" />
      <xs:enumeration value="BeginningBalance" />
      <xs:enumeration value="PurchaseRequisition" />
      <xs:enumeration value="Timesheet" />
      <xs:enumeration value="FreeTextInvoice" />
      <xs:enumeration value="VendorInvoice" />
      <xs:enumeration value="AdvancedLedgerEntry" />
      <xs:enumeration value="PayrollEarningStatement" />
      <xs:enumeration value="PayrollPayStatement" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjTransactionVoucher">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction voucher:Voucher number in ledger.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjOnAccTransId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction ID:Identification of transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjQtyRevenue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Number of units of the fee category.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMABasePrice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Base price:The base price of the subscription.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAEnddate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">End date:The subscription end date.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAIndex">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Index:The index used for the calculation of the indexed sales price.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAStartDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Start date:The subscription start date.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMASubscriptionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service subscription:Subscription identification.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjRevenueTransId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction ID:Identification of transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxTransRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax transaction record ID:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_GeneralJournalAccountEntryRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">General journal account entry:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TaxTransRelationshipType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax relationship type:Tax relationship type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Tax" />
      <xs:enumeration value="UseTaxPayable" />
      <xs:enumeration value="TransactionLineAccount" />
      <xs:enumeration value="Offset_RU" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LedgerDimensionAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Ledger account:The account number, including financial dimensions, for posting to the ledger</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TaxFiscalValue_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fiscal value:Fiscal value</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Blank" />
      <xs:enumeration value="WithCreditDebit" />
      <xs:enumeration value="WithoutCreditDebitExempt" />
      <xs:enumeration value="WithoutCreditDebitOther" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ICMSDifferenceTax_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ICMS difference percentage:Is the sales tax ICMS difference percentage between states?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxationCode_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Taxation code:Specify the taxation code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxSubstitution_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tributary substitution method:Specifies the calculation method of tributary substitution</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Markup" />
      <xs:enumeration value="SimplifiedEstimate" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TaxType_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax type:Tax type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Blank" />
      <xs:enumeration value="IPI" />
      <xs:enumeration value="PIS" />
      <xs:enumeration value="ICMS" />
      <xs:enumeration value="COFINS" />
      <xs:enumeration value="ISS" />
      <xs:enumeration value="IRRF" />
      <xs:enumeration value="INSS" />
      <xs:enumeration value="ImportTax" />
      <xs:enumeration value="OtherTax" />
      <xs:enumeration value="INSSRetained" />
      <xs:enumeration value="CSLL" />
      <xs:enumeration value="ICMSST" />
      <xs:enumeration value="ICMSDiff" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PlExciseAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Duty:Excise amount of transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxComponent_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax component:Enter the tax component.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TaxType_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax type:Tax type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="VAT" />
      <xs:enumeration value="SalesTax" />
      <xs:enumeration value="Excise" />
      <xs:enumeration value="ServiceTax" />
      <xs:enumeration value="Customs" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_TaxComponentTable_IN">
    <xs:sequence>
      <xs:element minOccurs="1" name="Component" type="tns:AxdExtType_TaxComponent_IN" />
      <xs:element minOccurs="1" name="TaxType" type="tns:AxdEnum_TaxType_IN" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_TaxRegistrationType_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Registration number type:Registration number type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Company" />
      <xs:enumeration value="Customers" />
      <xs:enumeration value="Vendors" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxRegistrationNumber_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Registration number:Enter the tax registration number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_TaxRegistrationNumbers_IN">
    <xs:sequence>
      <xs:element minOccurs="1" name="RegistrationType" type="tns:AxdEnum_TaxRegistrationType_IN" />
      <xs:element minOccurs="1" name="TaxType" type="tns:AxdEnum_TaxType_IN" />
      <xs:element minOccurs="1" name="RegistrationNumber" type="tns:AxdExtType_TaxRegistrationNumber_IN" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_CustVendTransPostingLogRecId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Log of posting customers and vendors transactions:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_GoodsInRouteId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Journal of passing of property:Identifier of journal of passing of property.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_GoodsInRouteToDelivery_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Passing of property is not registered:Transaction has not been processed yet on registration of passing of property.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TaxSourceType_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Detailed origin:Detailed origin</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="InvoiceTrans" />
      <xs:enumeration value="MarkupTrans" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_VATTaxAgentVendAccount_RU_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_VATTaxAgentVendAccount_RU tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankLCShipmentLineNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Shipment number:The shipment number of shipment details.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_BankLCExportLine">
    <xs:sequence>
      <xs:element minOccurs="1" name="LineNum" type="tns:AxdExtType_BankLCShipmentLineNum" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_ClassId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Class ID:ID for the class</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DescPrimaryMethod_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Primary method of payment description</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DimensionEnumeration">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Dimension:Default dimensions</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DiscGraceDays">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Grace period:Grace period added to the cash discount date or the due date when selecting a payment</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ConfLayoutGroupId_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Layout group:The identification of the configurator layout group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPaymType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment type:The type of payment that is associated with the method of payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="BillOfExchange" />
      <xs:enumeration value="Check" />
      <xs:enumeration value="CreditCard" />
      <xs:enumeration value="ElectronicPayment" />
      <xs:enumeration value="Other" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PaymSumBy">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Period:Period</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Invoice" />
      <xs:enumeration value="TransDate" />
      <xs:enumeration value="Week" />
      <xs:enumeration value="Total" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PrimaryMethod_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Primary method of payment:Primary method of payment</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Blank" />
      <xs:enumeration value="Duplicate" />
      <xs:enumeration value="Check" />
      <xs:enumeration value="Promissory" />
      <xs:enumeration value="Receipt" />
      <xs:enumeration value="Other" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TypeOfDraft">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type of draft:Type of draft</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NoDraft" />
      <xs:enumeration value="NoAcceptance" />
      <xs:enumeration value="Acceptance" />
      <xs:enumeration value="Promissory" />
      <xs:enumeration value="BankAcceptance" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustConsId_JP">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Consolidation ID:Identification of each consolidation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ProjContractType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Contract type:Contract type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Basic" />
      <xs:enumeration value="Advanced" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ProjForecastInvoiceFrequency">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice frequency:Invoice frequency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Daily" />
      <xs:enumeration value="CurrentWeek" />
      <xs:enumeration value="BiWeekly" />
      <xs:enumeration value="SemiMonthly" />
      <xs:enumeration value="CurrentMth" />
      <xs:enumeration value="CurrentQuart" />
      <xs:enumeration value="CurrentYear" />
      <xs:enumeration value="EOP" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_Num_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_Num tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TSMinTimeIncrement">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Minimum time increment:Enter the minimum time increment, in fraction of an hour, that workers can enter for a project task. Enter ‘0’ if you don’t want to enforce the minimum time increment and allow any value</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjEnableAdvancedFunding">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Enable advanced funding:Select this check box to activate advanced funding functionality</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjInvoiceNetPrice_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Net Price:Is the tax amount included in price?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjLockSalesCurrency">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Lock contract sales currency:Select this check box to require that journals use the currency specified for this project contract</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjPriceGroupID">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price group:Specify project price group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PSAProjRetainScheduleId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer retention term Id:Unique key for customer retention terms, used when creating new retention terms.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TSPostDetailSummary">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Default posting level:Set the default project posting level for timesheets.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Detail" />
      <xs:enumeration value="Summary" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressUseZipPlus4">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Use ZIP + 4 postal code validation rules:If selected, only valid ZIP codes and five digit or nine digit ZIP/postal code formats used in the US are allowed for addresses.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsAddressFormatId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Address format:An address format to be used in address records</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BacenCode_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">BACEN code:Country/region code (BACEN)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CountryOKSMCode_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Code by OKSM:Code of all Russian classifier countries in the world.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FatherRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference record ID:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FatherTableId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference table ID:Table the transaction refers to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPaymSchedId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment schedule:Payment schedule to be used when invoicing.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PositiveNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Positive figures:For program-internal loop-counter variables.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPaymSchedBy">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Allocation:Description of the allocation method for this payment schedule.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Total" />
      <xs:enumeration value="AmountByPayment" />
      <xs:enumeration value="NumOfPayment" />
      <xs:enumeration value="Specified" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PaymSchedTaxDistribution">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax allocation:Sales tax allocation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Proportional" />
      <xs:enumeration value="FirstRate" />
      <xs:enumeration value="LastRate" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceRoundOff">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Rounding price:Rounding amount for prices</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RoundOffType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Rounding form:Rounding form</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Ordinary" />
      <xs:enumeration value="RoundDown" />
      <xs:enumeration value="RoundUp" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CurrencySymbol">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Symbol:Recognized symbol of currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ProjFundingType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Funding type:Funding type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Customer" />
      <xs:enumeration value="Organization" />
      <xs:enumeration value="Grant" />
      <xs:enumeration value="OnHoldFundingSource" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteCostCategoryId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Category:Cost category</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdExecutedPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Processing percentage:Portion of the amount in hundredths</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SchedFromTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Start time:Scheduled start time.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdHourPrice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Hourly rate:Price per hour</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdReportedHours">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Hours:Number of hours consumed</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdFinishedJob">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Job is finished:Is the job finished?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdJobId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Job identification:Identification of the job</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RouteJobType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Route/job type:Route/job type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="QueueBefore" />
      <xs:enumeration value="Setup" />
      <xs:enumeration value="Process" />
      <xs:enumeration value="Overlap" />
      <xs:enumeration value="Transport" />
      <xs:enumeration value="QueueAfter" />
      <xs:enumeration value="Burden" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdJournalIdRoute">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Route card journal:Identification of the journal.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdFinishedOpr">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Operation completed:Is operation finished?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteOprId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Operation:Identification of the operation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RouteOprPriority">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Priority:Priority</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Primary" />
      <xs:enumeration value="Secondary1" />
      <xs:enumeration value="Secondary2" />
      <xs:enumeration value="Secondary3" />
      <xs:enumeration value="Secondary4" />
      <xs:enumeration value="Secondary5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdJournalIdProd">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reported as finished journal:Identification of the journal.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdQtyPrice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity price:Quantity-price per produced item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProdReleaseKindId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Kind of by-product:Kind of by-product or defective product.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SchedToTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">End time:Scheduled end time</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WrkCtrIdBase">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Resource:Resource or resource group to be assigned.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjJournalId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Journal:Identification of the journal.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_projJournalIdOriginal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Original journal number:Journal number that the lines are transferred from.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjJournalNameId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Identification of the journal name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ProjJournalType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Journal type:Journal type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Hour" />
      <xs:enumeration value="Revenue" />
      <xs:enumeration value="BegBalance" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjPeriodTo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">End date:Transaction date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjPeriodFrom">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Start date:Start date of the period.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesPrice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales price:Overview of sales price setup for costs.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjJournalStatusType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status value:Specify status for journal/voucher.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjJournalStatusNameId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Approve:Identification of journal approval.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TSTimesheetNbr">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Timesheet number:The timesheet number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ProjJournalVoucherChange">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">New voucher by:New voucher by</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="DateChange" />
      <xs:enumeration value="DateEmplChange" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ProjJournalVoucherDateChange">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Set voucher date to:Set voucher date to</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ProjPeriodEnd" />
      <xs:enumeration value="LedgerPeriodEnd" />
      <xs:enumeration value="ProjTransDate" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjCostPriceCost">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cost price:Cost price per unit in local currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjFromTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Start time:Starting time attached to the record.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PSAIndirectComponentGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Indirect cost component group:Indirect cost component group identifier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PSAWrkCtrId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Resource:Identify the resource group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjToTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">End time:End time attached to the record.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TSComment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Comment:Timesheet comment</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WebTransaction">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Web transaction:Specifies whether the transaction has been created via the Web.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchAmountPurchaseOrder">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase order prices/amount:Print prices and amounts on purchase order?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ConfirmingPOID">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Confirming PO:The code for a PO that is a special case, such as special handling, a rush order, or an emergency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_ConfirmingPO">
    <xs:sequence>
      <xs:element minOccurs="1" name="ConfirmingPOID" type="tns:AxdExtType_ConfirmingPOID" />
      <xs:element minOccurs="1" name="LanguageId" type="tns:AxdExtType_LanguageId" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_VendName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Name of vendor.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="100" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchEndDiscAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Total discount:The amount in the transaction currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendExchRate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exchange rate:Exchange rate of invoice currency (%1 = 1.0)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="12" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchaseOrderId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase order:Identification of the purchase order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchaseOrderVoucher">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase order confirmation voucher:Voucher number in ledger.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchIdBase">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase order:Identification of the purchase.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchOrderedQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Quantity ordered in purchase unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchSumLineDiscAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line discount:Line discount total of the lines</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupSumPurch">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Total charges:The total incidental cost of product acquisition</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressRefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressRefTableId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference table ID:Table the transaction refers to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ModuleVendPurch">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Module:Module</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Vend" />
      <xs:enumeration value="Purch" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankDocumentFacilityNature">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Facility nature:Select the nature of bank document.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="LetterOfCredit" />
      <xs:enumeration value="ImportCollection" />
      <xs:enumeration value="LetterOfGuarantee" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendCashDiscCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash discount:Cash discount code for subsequent approval.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchLineDlvDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery date:Transaction date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressCountyOrigDest">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">County of origin/destination:Intrastat county of origin/destination.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CovStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cash flow forecast status:Status of cash flow forecast for the current transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsDeliveryName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery name:The name that is associated with the selected delivery address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="100" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LogisticsPostalAddressRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Postal address:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchDlvAddrType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery location:Specify delivery address, that is none, company, project</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Company" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchEndDiscPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Total discount %:Total discount on the purchase order, in rounded percentage</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_VendDlvModeId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_VendDlvModeId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendDlvModeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mode of delivery:The means by which the order will be delivered</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_VendDlvTermId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_VendDlvTermId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendDlvTermId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery terms:Specify standard terms of delivery for vendor.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_VersioningDocumentState">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Approval status:Approval status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Draft" />
      <xs:enumeration value="InReview" />
      <xs:enumeration value="Rejected" />
      <xs:enumeration value="Approved" />
      <xs:enumeration value="Confirmed" />
      <xs:enumeration value="Finalized" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendEndDiscCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Total discount group:Determines total discount group of vendor/purchase.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchFixedDueDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Due date:Due date independent of terms of payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendFreightSlipType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Call tag type:Freight company</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="UPS" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendFreightZoneId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">UPS zone:Identification of UPS zone.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyVendor">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Intercompany:Indicate that this an intercompany organization</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_InterCompanyOrigin">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Origin:Origin</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Source" />
      <xs:enumeration value="Derived" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyOriginalCustAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Original customer:The customer account number on the original sales order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyOriginalSalesId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales order:The original sales order from which the intercompany purchase/intercompany sales was created</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanySalesId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales order:Identification of the intercompany sales order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_VendInvoiceAccount_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_VendInvoiceAccount tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendInvoiceAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice account:Vendor invoice account.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_UnknownNoYes">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Unknown" />
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendLanguageId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Language:Select the language for the current text.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="7" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendLineDiscCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line discount group:Unique identification of line discount</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_Listcode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">List code:List code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="IncludeNot" />
      <xs:enumeration value="EUTrade" />
      <xs:enumeration value="ProductionOnToll" />
      <xs:enumeration value="TriangularEUTrade" />
      <xs:enumeration value="TriangularProductionOnToll" />
      <xs:enumeration value="PropertyMoving_CZ" />
      <xs:enumeration value="TriangularIntermediateRole_HU" />
      <xs:enumeration value="DEL_EUService" />
      <xs:enumeration value="PurchasedOnBehalf_LV" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendMarkupGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Charges group:Charges group applicable to vendor</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendMultiLineDiscCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Multiline disc. group:Specifies multiline discount group of vendor/purchase order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_OneTimeSupplier">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">One-time supplier:Is the vendor a one-time supplier?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendPaymTermId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Terms of payment:Code for the terms of payment</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendPaymMode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Method of payment:The method of payment selected by the vendor</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendPaymSpec">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment specification:Specify payment handling for the current method of payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendPostingProfile">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posting profile:Posting profile being processed.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendPriceGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Price group:Determines vendor/purchase price group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PurchaseType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase type:Purchase type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Journal" />
      <xs:enumeration value="DEL_Quotation" />
      <xs:enumeration value="DEL_Subscription" />
      <xs:enumeration value="Purch" />
      <xs:enumeration value="ReturnItem" />
      <xs:enumeration value="DEL_Blanket" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Purchase description</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchPoolId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Pool:Identification of the purchase order pool</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PurchStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Backorder" />
      <xs:enumeration value="Received" />
      <xs:enumeration value="Invoiced" />
      <xs:enumeration value="Canceled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchReqAttention">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Attention information:Attention information for the purchase requisition</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRequester">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Requester:The name of the worker</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchReturnItemNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">RMA number:Unique number issued to authorize the return.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnReasonCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Return reason code:Customer reason for returning the item(s).</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnReplacementCreated">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Up-front replacement:Was replacement order created before receiving the returned items?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchSettlementType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Settlement type:Specify if voucher should be settled.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="OpenTransact" />
      <xs:enumeration value="SelectedTransact" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Vendor group:Group of vendors.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendRef">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Vendor reference:Reference used by vendor</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_VersioningTimeStamp">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Change date:Timestamp of the document version.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_PurchPlacer">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Orderer:Worker who ordered lines.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetTransTypePurchEDT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction type:Which type of fixed asset transaction is to be created in connection with the purchase?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Acquisition" />
      <xs:enumeration value="AcquisitionAdj" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchBarCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bar code:Bar code digits</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="80" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LineStopped">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Stopped:Is the line locked?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LineComplete">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Complete:Deliver complete line?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PurchCovRef">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Coverage planned for:Coverage planned for</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="ProjectTrans" />
      <xs:enumeration value="FixedAssetsTrans" />
      <xs:enumeration value="SalesOrderLine" />
      <xs:enumeration value="ProdTrans" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustRefLine">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer reference:Customer's reference</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetDepreciationStartDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Depreciation run date:Date from which the fixed asset will begin depreciating.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchDiscAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount:The amount in the transaction currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchDiscPercent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount percent:Discount in percentage.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchExternalItemId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">External:Vendor's item number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchLineIsFinalized">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Finalized:Indicates whether the purchase order line is finalized or not</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchLineAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Net amount:Line amount after subtracting discounts</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_LineDeliveryType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line delivery type:Line delivery type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="OrderLine" />
      <xs:enumeration value="OrderLineWithMultipleDeliveries" />
      <xs:enumeration value="DeliveryLine" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TradeLineNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line number:Identifies the line within the purchase order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PurchMatchingPolicyOption">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line matching policy:Line matching policy</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ThreeWayMatch" />
      <xs:enumeration value="TwoWayMatch" />
      <xs:enumeration value="NoMatch" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchOverDeliveryPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Overdelivery:The percentage by which the product receipt quantity is allowed to exceed the order quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchCategory">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Procurement category:Category from the procurement category hierarchy</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchMarkup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Charges on purchases:Fixed charges on price, applied once for each invoice</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase quantity:Number of purchase units</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchReqId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase requisition:Identification of the purchase requisition</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchReqLineRefId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference ID:Unique identification of line</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_GUID" />
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_PurchUnit_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_PurchUnit tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchUnit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit:Unit in which the item is purchased.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReqPlanIdSched">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Master plan:Identification of plan</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReqPOId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number:Number identifying the planned order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchReturnActionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Return action:What should happen with the returned items?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnDispositionCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Disposition code:Identification of the disposition code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ReturnStatusLine">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Return status:Return status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Awaiting" />
      <xs:enumeration value="Registered" />
      <xs:enumeration value="Quarantine" />
      <xs:enumeration value="Received" />
      <xs:enumeration value="Invoiced" />
      <xs:enumeration value="Canceled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_IntrastatTriangularDeal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Triangular deal:Is this a triangular deal?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxWithholdBaseCur">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Withholding tax base in currency:Base amount in currency the withholding tax is calculated from.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchUnderDeliveryPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Underdelivery:The percentage by which the product receipt quantity is allowed to be less than the order quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Request for quotation:Identification of the request for quotation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQMark">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mark:Mark request for quotation line</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQValidDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Date:Transaction date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LeadTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Lead time:Lead time in days.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchAgreementId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase agreement ID:Unique identification of purchase agreement</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQExpiryDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expiration date:Expiration date for the request for quotation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchInternalRFQId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Internal identification of the request for quotation:Internal request for quotation ID</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReasonId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reason ID:Reason why request for quotation was won or lost</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQWorkerSetupRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Requester:Person responsible for the request for quotation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQResponsible">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Requested by:Specifies the worker ID of the responsible employee</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQCaseId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Case ID:Identification of the request for quotation case</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQDocNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Request for quotation:Identification of the request for quotation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Name of vendor.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="100" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyHeaderCurrencyCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Currency:Reply currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyHeaderDeliveryDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery date:Reply delivery date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyHeaderDlvTerm">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery terms:Reply delivery terms</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyHeaderDocumentation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Documentation:Vendor can attach a file to the reply or a line in the reply</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyHeaderEndDiscPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Total discount %:Reply total discount %</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyHeaderMarkup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase charges:Reply purchase header misc charges</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyHeaderPayment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment:Reply terms of payment</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyHeaderValidFromDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reply valid from:Reply response valid from</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyHeaderValidToDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reply valid to:Reply response valid to</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyHeaderVendRef">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Vendor reference:For use by vendor</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyLineDeliveryDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery date:Reply delivery date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyLineDocumentation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Documentation:Vendor can attach a file to the reply or a line in the reply</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyLineExternalItemFreeTxt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">External item description:Reply response external item description</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyLineExternalItemId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">External item number:Reply response external item number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyLineLeadTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Lead time:Reply purchase lead time</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyLineLineDisc">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount:Reply line discount</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyLineMarkup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase charges:Reply purchase line misc charges</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyLineMultiLnDisc">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Multiline discount:Reply multi line discount percentage</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyLineMultiLnPercent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Multiline discount percentage:Reply multi line discount percentage</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyLinePercent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount percentage:Reply discount percentage</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyLinePriceUnit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit price:Reply line price unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyLineQuantity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Reply line quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyLineUnit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit:Reply line unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyLineValidFromDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reply valid from:Reply response valid from</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyLineValidToDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reply valid to:Reply response valid to</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQReplyLineWorkingdays">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Working days:Reply line working days</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PurchRFQType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase type:Purchase type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Purch" />
      <xs:enumeration value="PurchAgreement" />
      <xs:enumeration value="PurchReq" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PurchRFQUpdateType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Request for quotation update type:Request for quotation update type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Sent" />
      <xs:enumeration value="Accepted" />
      <xs:enumeration value="Rejected" />
      <xs:enumeration value="Resent" />
      <xs:enumeration value="Received" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PurchRFQStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Created" />
      <xs:enumeration value="Sent" />
      <xs:enumeration value="Received" />
      <xs:enumeration value="Rejected" />
      <xs:enumeration value="Accepted" />
      <xs:enumeration value="Canceled" />
      <xs:enumeration value="Declined" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AssetBookId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Value model:Identification of value model.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LineAmountTax">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax included in amount:Sales tax amount included in the amount because sales tax is included in prices</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JustificationDescription">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Enter business justification description</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchReqExternalSourceID">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Source requisition ID:The PurchReqExternalSource table contains the identifier that is used for the purchase requisitions in an external source system when the requisition originates from such a system.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchReqExternalSourceName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Source system name:Name of the source system where purchase requisition originated</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchReqName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Purchase requisition description</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchReqRequiredDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Requested date:The date the supplier is requested to deliver the products</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PurchReqRequisitionStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Draft" />
      <xs:enumeration value="InReview" />
      <xs:enumeration value="Rejected" />
      <xs:enumeration value="Approved" />
      <xs:enumeration value="Cancelled" />
      <xs:enumeration value="Closed" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PurchReqCreationStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase requisition creation status:Purchase requisition creation status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Draft" />
      <xs:enumeration value="Approved" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchReqSubmittedBy">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Submitted by:The user who initially created the business document submitted to workflow.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="8" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_PurchReqSubmittedDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Submitted:The date when the business document was submitted to workflow.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdUnion_AxdExtType_PurchReqItemIdNonCatalog_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_PurchReqItemIdNonCatalog tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchReqItemIdNonCatalog">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product name:Identify item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PurchReqLineType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Item" />
      <xs:enumeration value="Category" />
      <xs:enumeration value="External" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchReqLinePrePaymentDetails">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Prepayment details:Enter details for the prepayment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="40" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_AgreementLine">
    <xs:sequence>
      <xs:element minOccurs="1" name="LineNumber" type="tns:AxdExtType_LineNum" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_PurchReqConsolidationStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Consolidation status:Consolidation status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Pending" />
      <xs:enumeration value="Consolidated" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PurchReqRFQRequirement">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">RFQ required:RFQ required</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Informal" />
      <xs:enumeration value="Formal" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendQuoteNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Consolidation quotation number:Consolidation quotation number from aggregation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchReqBusinessJustification">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Business justification:Business justification for the purchase.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SourceDocumentLineAccountingStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Source document line status:Source document line status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Completed" />
      <xs:enumeration value="Draft" />
      <xs:enumeration value="Canceled" />
      <xs:enumeration value="PartlyDistributed" />
      <xs:enumeration value="Finalized" />
      <xs:enumeration value="FullyDistributed" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SourceDocumentLineRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Source document line:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SourceDocumentHeaderRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Source document:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EnumName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Enum name:Name of an enum in the AOT.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="40" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SourceDocumentTypeEnumValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Source document type:Identification of document type.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_DistributionAmountSource">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="PrimaryAmount" />
      <xs:enumeration value="Discount" />
      <xs:enumeration value="Tax" />
      <xs:enumeration value="Cost" />
      <xs:enumeration value="RoundOff" />
      <xs:enumeration value="PriceVariance" />
      <xs:enumeration value="Markup" />
      <xs:enumeration value="QuantityVariance" />
      <xs:enumeration value="TaxVariance" />
      <xs:enumeration value="DiscountVariance" />
      <xs:enumeration value="MarkupVariance" />
      <xs:enumeration value="CostVariance" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdType_LedgerAccount">
    <xs:sequence>
      <xs:element minOccurs="1" name="DisplayValue" type="xs:string" />
      <xs:element minOccurs="1" name="MainAccount" type="xs:string" />
      <xs:element minOccurs="0" name="Values" nillable="true" type="tns:AxdType_DimensionAttributeValues" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_MonetaryAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Monetary amount:Monetary amount</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ExtendedPrice" />
      <xs:enumeration value="RoundingAmount" />
      <xs:enumeration value="PriceAdjustment" />
      <xs:enumeration value="Discount" />
      <xs:enumeration value="Charge" />
      <xs:enumeration value="TaxNonRecoverable" />
      <xs:enumeration value="Tax" />
      <xs:enumeration value="DiscountVariance" />
      <xs:enumeration value="ChargeVariance" />
      <xs:enumeration value="TaxNonRecoverableVariance" />
      <xs:enumeration value="TaxVariance" />
      <xs:enumeration value="QuantityVariance" />
      <xs:enumeration value="PriceVariance" />
      <xs:enumeration value="PriceAdjustmentVariance" />
      <xs:enumeration value="TotalDiscount" />
      <xs:enumeration value="TotalDiscountVariance" />
      <xs:enumeration value="TotalDiscountRounding" />
      <xs:enumeration value="CashDiscount" />
      <xs:enumeration value="CashDiscountVariance" />
      <xs:enumeration value="StatementAmount" />
      <xs:enumeration value="PayrollCost" />
      <xs:enumeration value="PayrollLiability" />
      <xs:enumeration value="TaxDeferred_IN" />
      <xs:enumeration value="TaxDeferredVariance_IN" />
      <xs:enumeration value="WithholdTax_IN" />
      <xs:enumeration value="Incentiveschemetax_IN" />
      <xs:enumeration value="ServiceTaxInterimAmount_IN" />
      <xs:enumeration value="ServiceTaxInterimAmountVariance_IN" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AccountingDistributionNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number:Identification of line.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_AccountingDistribution">
    <xs:sequence>
      <xs:element minOccurs="1" name="SourceDocumentLine" type="tns:AxdExtType_SourceDocumentLineRecId" />
      <xs:element minOccurs="1" name="Number" type="tns:AxdExtType_AccountingDistributionNumber" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_AccountingDistributionReferenceRole">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference role:Reference role</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Reversing" />
      <xs:enumeration value="Adjusting" />
      <xs:enumeration value="Matching" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ReferenceDistributionRole">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Role:Role</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Ordered" />
      <xs:enumeration value="Received" />
      <xs:enumeration value="Invoiced" />
      <xs:enumeration value="Reversed" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_AccountRole">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Account role:Account role</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Original" />
      <xs:enumeration value="Reversing" />
      <xs:enumeration value="Adjusting" />
      <xs:enumeration value="Closing" />
      <xs:enumeration value="Opening" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchRFQRequestedDeliveryDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Requested delivery date:The requested delivery date for the request for quotation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemNameDisplay">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product name:Describe the item and any configuration.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PurchRFQLineItemType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line type:Line type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Category" />
      <xs:enumeration value="Item" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UnitOfMeasureRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit:Unit symbol</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignMediaTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Media type:Unique ID for the campaign media.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Campaign ID:The identification of the campaign</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailPromotionPublished">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Publish pages to Sites Services:Whether to publish promotion.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignProcess">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Campaign process:The campaign process</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:The name of the campaign</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Start date:The start date of the campaign</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignEndDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">End date:The end date of the campaign</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignTarget">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Target:Notes about the campaign target</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignTargetGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Target group:Notes about the campaign target group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignComment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Notes:Notes about the campaign target and target group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignParentId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Parent campaign:The parent campaign of the selected campaign</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Group:The campaign group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:The campaign type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignOverruleDM">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Overrule DM:Overrule the DM setting.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignBusRelWithoutContacts">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Include prospects without contacts:Select to include prospects without contacts</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignClosed">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Closed:Campaign is closed.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignAttention">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Attention:Campaign attention</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_smmCampaignStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Planning" />
      <xs:enumeration value="InProcess" />
      <xs:enumeration value="Response" />
      <xs:enumeration value="FollowUp" />
      <xs:enumeration value="Closed" />
      <xs:enumeration value="Cancelled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ProjParentId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Parent project:Identification of the parent project.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_smmCampaignProjectJournalType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Journal type:Journal type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Cost" />
      <xs:enumeration value="Hours" />
      <xs:enumeration value="Item" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_NumberSequenceFormat">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Format:Specify a format of no more than 20 characters</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignFollowUpDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Follow-up date:The campaign follow-up date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignActivityFollowUp">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Follow-up activity:Activity number generated from number sequence.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignResponded">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Responded:Has the contact responded?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignTargetId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Target:The target of the campaign</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignReasonId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reason canceled:Describes the reason why the campaign was canceled</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignBroadcastText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">E-mail text:The text of the e-mail</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignBroadcastSubject">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Subject:The subject of the e-mail</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCampaignBroadcastName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:The name of the e-mail template</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmTMCallListID">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Call list ID:The call list identification</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailMemo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailCampaignDiscountMediaTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailDiscountCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount code:The discount code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailOfferIdEx3">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount:Unique identifier of the retail discount</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RetailDiscountConcurrency">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount concurrency mode:Discount concurrency mode</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Exclusive" />
      <xs:enumeration value="BestPrice" />
      <xs:enumeration value="Compounded" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RetailDateValidationTypeBase">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Date validation type:Date validation type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Standard" />
      <xs:enumeration value="Advanced" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailDiscountPercentValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount % value:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailDiscountCodeRequired">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount code required:Does this discount require a discount code to be activated</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RetailDiscountOfferTypeBase">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount type:Discount type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Multibuy" />
      <xs:enumeration value="MixAndMatch" />
      <xs:enumeration value="DiscountOffer" />
      <xs:enumeration value="Promotion" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RetailDisabledEnabled">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Disabled" />
      <xs:enumeration value="Enabled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailDiscountValidationPeriodId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount period number:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailDealPriceDiscountPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount type:Deal price/discount type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="DealPrice" />
      <xs:enumeration value="DiscountPct" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailMixAndMatchLineGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line group:Set the line group for the number of lines that trigger the mix and match discount, as well as the color of the lines.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailNumberOfItemsNeeded">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number of products needed:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailDiscountOfferLineDiscountMethod">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount method:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="PercentOff" />
      <xs:enumeration value="AmountOff" />
      <xs:enumeration value="Price" />
      <xs:enumeration value="PriceInclTax" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailOfferPrice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount price:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailOfferPriceInclTax">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount price including tax:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailDealPriceValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Deal price value:The transaction amount, in the accounting currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailDiscountAmountValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount amount value:The transaction amount, in the accounting currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailMixAndMatchDiscount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount type:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="DealPrice" />
      <xs:enumeration value="DiscountPct" />
      <xs:enumeration value="DiscountAmount" />
      <xs:enumeration value="LeastExpensive" />
      <xs:enumeration value="LineSpec" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailNoOfLeastExpensiveLines">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number of least expensive lines:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailNumberOfTimesApplicable">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number of times applicable:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailMultibuyDiscountType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount type:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="UnitPrice" />
      <xs:enumeration value="DiscPct" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailDiscOnPOS">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount at register:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailAttributeSourceName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Attribute source name:Select the attribute source name</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="2000" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RetailProductAttributeRelationType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Channel" />
      <xs:enumeration value="Category" />
      <xs:enumeration value="StandardProduct" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CatalogName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Catalog name:The name of the catalog</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailChannelRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Channel:Reference of online channel</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailLoyaltyCustId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Loyalty customer:Identification of the loyalty customer.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailLoyaltyCardId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Loyalty card number:Identification of the loyalty card.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailLinkType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Link type:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Cashier" />
      <xs:enumeration value="Customer" />
      <xs:enumeration value="Contact" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailLoyaltySchemeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Scheme ID:Identification of the loyalty scheme id.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailLoyaltyTenderType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Loyalty card type:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="AsCardTender" />
      <xs:enumeration value="AsContactTender" />
      <xs:enumeration value="NoTender" />
      <xs:enumeration value="Blocked" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailTaxOverrideGroupCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax override group:The ID number of the sales tax override group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailTerminalName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailTerminalStatement">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Register statement:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RetailClosingStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Closing" />
      <xs:enumeration value="Closed" />
      <xs:enumeration value="Completed" />
      <xs:enumeration value="Error" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailManagerKeyOnReturn">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Manager key on return:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailOpenDrawerAtLiLo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Open drawer at logon/logoff:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailExitAfterEachTransaction">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exit after each transaction:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailAutoLoggOffTimeout">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Auto logoff timeout (minutes):</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailReturnInTransaction">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Return in transaction:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RetailNoneItemBarcodeItem">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="ItemId" />
      <xs:enumeration value="BarcodeItem" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailEFTTerminalId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">EFT POS register number:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailTerminalStore">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Receipt setup location:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Terminal" />
      <xs:enumeration value="Store" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailMaxDisplayTextLength">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Maximum text length:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailCustomerDisplayText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer display text:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="40" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailHardwareProfileId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Profile number:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailVisualProfileId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Profile number:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailPrintTaxRefundChecks">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Print tax refund checks:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailReceiptPrintingDefaultOff">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Receipt printing off by default:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailReceiptBarcode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Receipt bar code:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailUpdateServicePort">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Update service port:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailIpAddress">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">IP address:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailStandAlone">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Stand alone:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailNumberSequenceGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number sequence group:Group for allocation of different number sequences to different customers/vendors.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailNoneTotalAll">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Slip if return:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Total" />
      <xs:enumeration value="All" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BankDocumentType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank document type:Bank document type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="LetterOfCredit" />
      <xs:enumeration value="ImportCollection" />
      <xs:enumeration value="LetterOfGuarantee" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustConsTarget_JP">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Target of consolidation:This check box indicates whether the invoice for this sales order will be consolidated later.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CreditCardAuthorization">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Authorization code:Authorization code that was returned from the payment service</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesDeadline">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Deadline:Last date for acceptance of the order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesEndDiscPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Total discount %:Total discount on the sales order, in rounded percentage</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesEstimateGross">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Estimated amount:The amount in the transaction currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesFixedDueDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Due date:Due date independent of terms of payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesFixedExchRate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fixed exchange rate:Fixed exchange rate for this order. If the rate field is blank, the rate of the currency code is used.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="12" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustFreightSlipType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Call tag type:Freight company</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="UPS" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyCustomer">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Intercompany:Indicate that this an intercompany organization</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LtInvoiceAutoNumbering">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice auto numbering:Use the auto numbering.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LtPackingSlipAutoNumbering">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Packing slip auto numbering:Use the auto numbering.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsBatchAttribAutoRes">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Auto batch reservation:Consider batch attributes when processing auto reservation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QuotationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quotation:The quotation identifier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesReceiptDateConfirmed">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Confirmed receipt date:The selling company confirms that the customer will receive the order on this date.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesReceiptDateRequested">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Requested receipt date:The date that the customer asked to receive the order on</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnDeadline">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Deadline:Date the return delivery must be received.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesReturnItemNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">RMA number:Unique number issued to authorize the return.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnReplacementId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Replacement reference:Reference to the replacement order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ReturnStatusHeader">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Return status:Return status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Created" />
      <xs:enumeration value="Open" />
      <xs:enumeration value="Canceled" />
      <xs:enumeration value="Closed" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Describe the order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesOriginId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales origin:Code for order origin</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesPoolId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Pool:Identification of the sales order pool</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SalesStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Backorder" />
      <xs:enumeration value="Delivered" />
      <xs:enumeration value="Invoiced" />
      <xs:enumeration value="Canceled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmSalesUnitId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales unit:A team of sales persons responsible for a common sales target</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesSettlementType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Settlement type:Specify if voucher should be settled.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="OpenTransact" />
      <xs:enumeration value="SelectedTransact" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ShipCarrierExpeditedShipment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expedited shipment:If selected, the shipment is expedited and free minimums will not be considered</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmSalesAmountTotal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Total amount:Total amount calculated for the sales order.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesBarCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bar code:Bar code digits</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="80" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnCostPrice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Return cost price:Cost price per unit of the returned item.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressCountryRegionName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Country/region name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustLineNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line number:Customer's line number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustomsDocDate_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Custom date:Date of custom number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustomsDocNumber_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Custom number:Document number of import document.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustomsName_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Custom name:Name of custom.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnExpectedRetQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Quantity to be returned.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TradeInventTransIdReturn">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Return lot ID:Lot ID for items being returned</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnItemReplaced">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item replaced:Is sales line created for returned item?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesLineAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Net amount:Sales amount of the line, including discount</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesMultiLnDisc">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Multiline discount:Multiline discount per price unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesMultiLnPercent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Multiline discount percentage:The multiline discount percentage</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesOverDeliveryPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Overdelivery:The percentage by which the product receipt quantity is allowed to exceed the order quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_InventPackingUnit_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_InventPackingUnit tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventPackingUnit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Packing unit:Unit the item is packed in</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventPackingUnitQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Packing unit quantity:Quantity of packing units</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsCWExpectedRetQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CW quantity:Expected catch weight quantity to be returned.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsExcludeFromRebate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exclude from rebate:Exclude sales transactions created from this sales agreement from the rebate calculation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PdsSameLot">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Same batch selection:Indicates if the inventory that will be reserved for this sales order line needs to come from the same lot.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceAgreementDate_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Date of price:Date for price determining in price agreement.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailCategory">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Retail category:Category identifier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnAllowReservation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Allow reservation:Treat lot as On Order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnArrivalDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Actual arrival date:Date when the return delivery was received.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ReturnClosedDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Closed date:Date when the return line was invoiced or cancelled.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesOrderedQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Quantity ordered in the sales unit</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAServiceOrderId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service order:Identification of service order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesUnderDeliveryPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Underdelivery:The percentage by which the product receipt quantity is allowed to be less than the order quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxInventVATCommodityCodeId_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">VAT commodity code:VAT commodity codes for item per state.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_TaxInventVATCommodityCode_IN">
    <xs:sequence>
      <xs:element minOccurs="1" name="CommodityCode" type="tns:AxdExtType_TaxInventVATCommodityCodeId_IN" />
      <xs:element minOccurs="1" name="ItemId" type="tns:AxdExtType_ItemId" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdUnion_AxdExtType_CustAccountConsignee_RU_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_CustAccountConsignee_RU tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustAccountConsignee_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Consignee:Reference customer when the 'Customer' and 'Consignee' are different.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_VendAccountConsignor_RU_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_VendAccountConsignor_RU tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendAccountConsignor_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Shipper:Reference vendor when the 'Vendor' and 'Shipper' are different.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteVersionActive">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Active:Is this version active?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteVersionApproved">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Approved:Is the version approved?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Route number:Route identification</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteApproved">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Approved:Has the route been approved?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteAccErrorPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Accumulated:Accumulated scrap percentage for this operation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteErrorPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Scrap percentage:Scrap from this operation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_JmgJobPayType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Hourly rate / piecework rate:Is payment based on an hourly rate or on a piecework rate?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Empty" />
      <xs:enumeration value="Hours" />
      <xs:enumeration value="PieceRate" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteLevel">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Route level:Level where the current operation is situated.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SchedJobLinkType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Link type:Link type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Soft" />
      <xs:enumeration value="Hard" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_OprNumNext">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Next:Next operation number in the route</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RouteFormula">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Formula:Formula</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Formula0" />
      <xs:enumeration value="Formula1" />
      <xs:enumeration value="Formula2" />
      <xs:enumeration value="Formula3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteFormulaFactor">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Factor:Factor that may be used in formula.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item code:Statement should apply for?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Table" />
      <xs:enumeration value="GroupId" />
      <xs:enumeration value="All" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemRelationInvent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item relation:Item number or item group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteCostCategoryIdProcess">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Run time category:Cost category for run time</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteOprQtyProcessNumOf">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Process qty.:Quantity that can be produced in the run time.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteOprTimeProcess">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Run time:Time for production of process quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PropertyId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Property:Identify property.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteCostCategoryIdQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity category:Cost category for quantity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteOprTimeQueueAfter">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Queue time after:Queue time after operation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteOprTimeQueueBefore">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Queue time before:Queue time before operation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RouteAll">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Route code:Route code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Route" />
      <xs:enumeration value="All" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Route group:Identify the route group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteRelation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Route relation:Identification of the route</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RouteOprType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Route type:Route type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Standard" />
      <xs:enumeration value="Vendor" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteCostCategoryIdSetup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Setup category:Cost category for setup time</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteOprTimeSetup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Setup time:Setup time for the operation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteHourFactor">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Hours/time:Conversion factor to hours. (Factor * Time) = Time in hours.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteOprQtyTransferBatch">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transfer batch:Quantity that can be moved between sequential resources.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RouteOprTimeTransport">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transit time:Transit time to next operation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WrkCtrIdCost">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Costing resource:The resource used for costing purposes.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WrkCtrActivityType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Activity type:Activity type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ProdRoute" />
      <xs:enumeration value="RouteOpr" />
      <xs:enumeration value="PBATreeRouteOpr" />
      <xs:enumeration value="ProjForecastEmpl" />
      <xs:enumeration value="SmmActivity" />
      <xs:enumeration value="PCRouteOperation" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WrkCtrActivityRequirementSetDescription">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:The capability that must be possessed by a resource.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WrkCtrLoadPct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Load:Percentage of maximum capacity assigned to the resource.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WrkCtrRequirementQuantity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:The number of resources needed for an activity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WrkCtrActivityRequirementType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Requirement type:Requirement type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ResourceType" />
      <xs:enumeration value="Resource" />
      <xs:enumeration value="ResourceGroup" />
      <xs:enumeration value="Capability" />
      <xs:enumeration value="Skill" />
      <xs:enumeration value="Course" />
      <xs:enumeration value="Certificate" />
      <xs:enumeration value="PersonTitle" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WrkCtrUsedForJobScheduling">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Job scheduling:The requirement is used for job scheduling.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WrkCtrUsedForOperationScheduling">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Operations scheduling:The requirement is used for operation scheduling.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WrkCtrCapabilityLevelMinimum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Minimum level needed:The minimum level a resource must have in order to perform the activity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WrkCtrCapabilityDescription">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Description of the resource capability.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WrkCtrCapabilityName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Capability:The name of the capability.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HRMCourseId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Course ID:Identification of the course</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmCertificateTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Certificate type:Identification of the certificate type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmRatingLevelId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Level:Identify the rating level</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_HcmRatingModelId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Rating:Identify the rating model</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_HcmRatingLevel">
    <xs:sequence>
      <xs:element minOccurs="1" name="RatingLevelId" type="tns:AxdExtType_HcmRatingLevelId" />
      <xs:element minOccurs="1" name="RatingModel_RatingModelId" type="tns:AxdExtType_HcmRatingModelId" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_HcmSkillId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Skill:Identify skill</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WrkCtrId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Resource:Identify the resource.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WrkCtrGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Group:Identification of the resource group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_WrkCtrType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Resource type:Resource type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Vendor" />
      <xs:enumeration value="Personnel" />
      <xs:enumeration value="Machine" />
      <xs:enumeration value="Tool" />
      <xs:enumeration value="Location" />
      <xs:enumeration value="Group" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesCostValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cost value:Cost value for quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesEndDiscAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Total discount:The amount in the transaction currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesEndDiscAmountMST">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">The total discount, in the accounting currency:The transaction amount, in the accounting currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustExchRate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exchange rate:Specify the cost in the foreign currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="12" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ForecastModelId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Model:Forecast model number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QuotationDocNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document number:Document identification number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_QuotationType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quotation type:Quotation type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Sales" />
      <xs:enumeration value="Project" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesSumLineDiscAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line discount:Line discount total of the lines</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesSumLineDiscAmountMST">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">The line discount in the accounting currency:Line discount total of the lines</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MarkupSumMSTSales">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">The summary miscellaneous charges, in the accounting currency:The total incidental cost of product acquisition</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesDiscAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount:The amount in the transaction currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesDiscPercent">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Discount percent:Discount in percentage.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LineAmountTaxMST">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">The sales tax, in the accounting currency, that is included in the amount:Sales tax amount included in the amount because sales tax is included in prices</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QuotationIdOrig">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quotation that the line is generated from:The quotation identifier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QuotationProjCategory">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Category:Category that is used as a default.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_QuotationProjTransType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction type:Transaction type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Fee" />
      <xs:enumeration value="Hour" />
      <xs:enumeration value="Expense" />
      <xs:enumeration value="Item" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesQuotationQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Quantity that was quoted in sales units.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustConfirmDocNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Confirmation:Identification of the confirmation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ConfirmId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Confirmation:Identification of the confirmation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesConfirmedQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Quantity that was confirmed in sales units.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RoundOffMST">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Rounding off in the accounting currency:The transaction amount, in the accounting currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AmountCurNet">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Net amount:The amount in the transaction currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustVendProforma">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Pro forma:Is this invoice a pro forma invoice?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RCListDispatchId_UK">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Dispatch:Sequence transaction number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxSpecifyLine">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax amount per invoice line:Indicate whether calculated sales tax amount per line shall be stored in the invoice journal lines.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CommissAmountCur">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Commission:The amount in the transaction currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemFreeTxtBase">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Text:Standard item description.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="1000" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PartDelivery">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Part delivery:Has part delivery been made?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesInvoicedQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Quantity that was invoiced in sales units.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FacturedFully_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fully factured:Fully factured line.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FacturedQty_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Factured:Processed line quantity.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_GoodsInRouteInventTransIdDelivery_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery lot:Delivery lot ID for items shipped.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_GoodsInRouteInventTransIdTransit_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transit lot:Transit lot ID for items shipped.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RefReturnInvoiceTrans_W">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Rec. ID of returned invoice line:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustPaymSchedParentRecID">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference record ID:Reference to record ID of customer payment schedule.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FiscalEstablishmentId_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fiscal establishment ID:Fiscal establishment identification</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FiscalDocumentTypeId_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fiscal document type:Type of fiscal document.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_FiscalDocumentType_BR">
    <xs:sequence>
      <xs:element minOccurs="1" name="FiscalEstablishment_BR_FiscalEstablishmentId" type="tns:AxdExtType_FiscalEstablishmentId_BR" />
      <xs:element minOccurs="1" name="FiscalDocumentTypeId" type="tns:AxdExtType_FiscalDocumentTypeId_BR" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_OperationTypeID_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Operation type:The default operation type for the CFOP code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PlFiscalDocDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fiscal document date:Date of fiscal document.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PlFiscalDocState">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales document status:Sales document status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Invoice" />
      <xs:enumeration value="FiscalDocument" />
      <xs:enumeration value="PrintedFiscalDocument" />
      <xs:enumeration value="Changed2Invoice" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PlFiscalPrinterCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fiscal printer:Select a printer code for the fiscal document</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AttorneyDate_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">From:Issue date of proxy.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AttorneyId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Proxy number:Specify the proxy number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AttorneyIssuedName_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Issued:To whom proxy was issued.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CorrectedInvoiceDate_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice date:Date of corrected invoice.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CorrectedInvoiceId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice:Number of invoice being corrected.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_NonRealRevenue_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unrealized revenue:Unrealized revenue - to be posted to gain/lost accounts.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PrintInMST_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Print in national currency:Printing of documents in national currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LtPrintBlankDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Empty date:Edit document date on sales order</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesDate_W">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales date:Enter or select the date of the sales transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxReimbursementDoc_HU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax reimbursement document:Number of tax reimbursement slip.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CreditCardAddressVerificationResult">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Address verification status:Address verification status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Returned" />
      <xs:enumeration value="NotReturned" />
      <xs:enumeration value="VerificationNotSupported" />
      <xs:enumeration value="SystemUnavailable" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CreditCardOperation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="AuthorizeAndCapture" />
      <xs:enumeration value="Authorize" />
      <xs:enumeration value="Refund" />
      <xs:enumeration value="Void" />
      <xs:enumeration value="CaptureAfterAuthorize" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_ApprovedDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Approved date:Date of transaction approval.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_CreditCardMSCVCResultCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Card verification value status:Card verification value status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Success" />
      <xs:enumeration value="Failure" />
      <xs:enumeration value="IssuerNotRegistered" />
      <xs:enumeration value="NotProcessed" />
      <xs:enumeration value="Unknown" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CreditCardApprovalRejectReason">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reject reason:Reason of rejection that returned from the payment service.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="256" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_CreditCardProcessorStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NA" />
      <xs:enumeration value="Approved" />
      <xs:enumeration value="Declined" />
      <xs:enumeration value="Error" />
      <xs:enumeration value="Settled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesInvoiceId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice:Identification of the invoice.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CFPSId_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CFPS code:Fiscal operation of services (CFPS) code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesBatchType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Batch:Mileage type that generated the transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="FormLetter" />
      <xs:enumeration value="Delete" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FactureDate_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Date of the registration:Facture registration date.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FactureExternalId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Facture:Facture number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ExportInvoiceId_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoice:Identification of the invoice.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustomsShippingBillNumber_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Shipping bill:The shipping bill number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_TransDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction time:Time when the transaction was processed.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_EFDocAccessKey_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Access key:NF-e file identifier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="45" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FiscalDocumentModel_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document model:Fiscal document model</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FiscalDocumentSeries_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Series:Fiscal document series</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_FiscalDocumentSpecie_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Specie:Specie</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NFF" />
      <xs:enumeration value="NF" />
      <xs:enumeration value="CTRC" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_OffReportType_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Report type:Report type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="General" />
      <xs:enumeration value="CashSlip" />
      <xs:enumeration value="AdvanceReport" />
      <xs:enumeration value="CashBookPage" />
      <xs:enumeration value="SalesInvoice" />
      <xs:enumeration value="PurchInvoice" />
      <xs:enumeration value="InventTORG16" />
      <xs:enumeration value="InventTORG13" />
      <xs:enumeration value="InventM11" />
      <xs:enumeration value="InventINV19" />
      <xs:enumeration value="ProdM8" />
      <xs:enumeration value="SalesInvoice4Paym" />
      <xs:enumeration value="CashCountStatement" />
      <xs:enumeration value="CustFacture" />
      <xs:enumeration value="VendFacture" />
      <xs:enumeration value="SalesInvoiceCreditNote" />
      <xs:enumeration value="PurchInvoiceCreditNote" />
      <xs:enumeration value="CustFactureCreditNote" />
      <xs:enumeration value="VendFactureCreditNote" />
      <xs:enumeration value="EmplAdvanceReportFacture" />
      <xs:enumeration value="PurchInvoice4Paym" />
      <xs:enumeration value="TaxCorrectionFactureVend" />
      <xs:enumeration value="TaxCorrectionFactureCust" />
      <xs:enumeration value="SalesInvoiceM15" />
      <xs:enumeration value="PurchM4M7" />
      <xs:enumeration value="RPayTaxList" />
      <xs:enumeration value="RTax25Inv17" />
      <xs:enumeration value="InventINV3" />
      <xs:enumeration value="RDeferrals" />
      <xs:enumeration value="RAssetsINV1" />
      <xs:enumeration value="RAssetsINV1a" />
      <xs:enumeration value="RAssetMB8" />
      <xs:enumeration value="InventINV5" />
      <xs:enumeration value="TransferInvoiceM15" />
      <xs:enumeration value="CommissionAgentReport" />
      <xs:enumeration value="InventINV6" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_OffSessionId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Official session:Unique ID to identify the officials session.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PackingSlipIdForUpdate_W">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Documents to update:Numbers of packing slips for update.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="250" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_GrossWeight">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Gross weight:Conversion factor for measurement dimension.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CartonsQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Cartons:Number of units</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UnitPackingWeight">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Packing weight:Weight of unit packing</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PrintCopies">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number of copies:Number of copies to print.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VolumeType_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Volume type:Volume type is used in invoice and packing slip posting for fiscal integration</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VolumeQty_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Volume quantity:Volume quantity used in invoice and packing slip posting for fiscal integration</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesLineRefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TradeLineRefId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line reference:Reference between parent and child line.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WMSMandatoryOrder">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Consolidated picking method:Manage picking of multiple orders, use picking areas and shipment functionality.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BankLGDocumentType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank document type:Bank document type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="LetterOfGuarantee" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_QuotationDlvModeId_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_QuotationDlvModeId tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QuotationDlvModeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mode of delivery:The means by which the order will be delivered</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmQuotationDocuConclusionText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document conclusions:Conclusions to include in quotation documents</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmQuotationDocuIntroText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document introduction:Introductions to include in quotation documents.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmQuotationDocuTitle">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document title:Title to be included in quotation document</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="70" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmOpportunityId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Opportunity ID:The opportunity identification</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QuotationIdBase">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quotation:The quotation identifier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CalendarId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Calendar:Identification of calendar.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesQuotationTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Type of sale (first time)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QuotationExpiryDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expiration date:Calculated or inserted expiration date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmQuotationFollowupActivity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Follow-up activity:Follow-up activity generated for quotation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmQuotationFollowUpDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Follow-up date:Date for follow-up of quotation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QuotationName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Description of the quotation</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SalesQuotationStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quotation status:Quotation status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Created" />
      <xs:enumeration value="Sent" />
      <xs:enumeration value="Confirmed" />
      <xs:enumeration value="Lost" />
      <xs:enumeration value="Cancelled" />
      <xs:enumeration value="Reset" />
      <xs:enumeration value="Modified" />
      <xs:enumeration value="Submitted" />
      <xs:enumeration value="Approved" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmQuotationReasonId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reason:Reason that an opportunity was won or lost or that a lead was qualified or disqualified</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAAgreementId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service agreement:Identification of service agreement</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QuotationTemplateActive">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Active:Indicates whether the quotation template is active</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesQuotationTemplateGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Group ID:Quotation template group ID</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_QuotationTemplateName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Template name:Describes the quotation template</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesQuotationTransferred">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transferred to forecast:Indicates whether the quotation has been transferred to the project forecast</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SalesQuotationTransferredItemReq">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transferred to item requirement:Indicates whether the quotation has been transferred to an item requirement</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PriceCalcId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Calculation number:Unique identification of the calculation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAAgreementGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service agreement group:Identification of agreement group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAContactPersonId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Contact:The contact identification number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SMAGroupServiceOrder">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Combine service orders:Combine service orders</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ServiceAgreement" />
      <xs:enumeration value="ServiceTask" />
      <xs:enumeration value="Employee" />
      <xs:enumeration value="ServiceObject" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ServiceEventGroup_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service event group:Service event groups for continuous service agreements</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMATemplateGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service template group:Template group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAAgreementLineNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line number:The line number of the agreement</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMADescription">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Text:Field for writing memos</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="1000" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAIntervalId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service interval:Identification of service interval.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SMAItemSetupType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item setup:Item setup</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="ItemConsumption" />
      <xs:enumeration value="ItemRequirement" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAProjId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Project ID:Contract identification.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAQty">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Quantity:Quantity of units.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAServiceObjectId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service object:Identification of object.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAServiceObjectRelationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service object relation:Identification of object.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAServiceTaskId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service task:Identification of service task.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAEndBeforeTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">End before:The service must be completed by this time.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAStartAfter">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Start after:The service must start after this time.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMATimeAgreementId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Time window:Identification of time window</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SMATransactionType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction type:Transaction type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Hour" />
      <xs:enumeration value="Expense" />
      <xs:enumeration value="Item" />
      <xs:enumeration value="Fee" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAServiceObject">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service object:Identification of object.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAServiceObjectRef">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference to the service object.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMATemplateBOMId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Template BOM:Template BOM identification.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMATableKeyId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Key table field:Identification field on one of the main service tables.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmActivityId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Activity number:Activity number generated from number sequence.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SMAServiceOrderOrigin">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Origin:Origin</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="System" />
      <xs:enumeration value="User" />
      <xs:enumeration value="Web" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_smmActivityPriority">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Priority:Priority</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Low" />
      <xs:enumeration value="Normal" />
      <xs:enumeration value="High" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SMAServiceOrderProgress">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Progress:Progress</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="InProcess" />
      <xs:enumeration value="Transferred" />
      <xs:enumeration value="Canceled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_SMAPreferredServiceDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Preferred service time:The customer's preferred date and time for the service call.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_SMAServiceOrderSLAStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:The status of the time registration against the limit set in the SLA.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Open" />
      <xs:enumeration value="Closed" />
      <xs:enumeration value="Cancel" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_SMASignOffDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sign off date:Date and time the service order was signed off.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_SMADateCalculated">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Date calculated:The calculated date.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMADateExecution">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posting date:Date used when posting the service line transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMADateRangeFrom">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Range - from date:Valid from this date.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMADateRangeTo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Range - to date:Valid to this date.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMASignOff">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sign off:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_SMAServiceOrderStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Created" />
      <xs:enumeration value="Posted" />
      <xs:enumeration value="Canceled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAServiceFinishedTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">End time:The time, the service ended.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAServiceStartedTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Start time:The time, the service started.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAConditionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Condition:Identification of repair condition.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_SMARepairFinishDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Repair finish date:Date and time the repair was finished.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_SMAMemo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Text:Field for writing memos</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMADiagnosisAreaId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Diagnosis area:Identification of diagnosis area.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMADiagnosisCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Diagnosis code:Identification of diagnosis code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMARepairLineId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Repair line:Identification of repair line within Service Order - Service Object relation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMARepairStageId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Repair stage:User defined stages of repair process.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMAResolutionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Resolution:Identification of repair resolution.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMASymptomAreaId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Symptom area:Identification of symptom area.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SMASymptomCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Symptom code:Identification of symptom code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmRelationBlocked">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Invoicing and delivery on hold:View whether invoicing or deliveries have been placed on hold for the prospect</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Invoice" />
      <xs:enumeration value="All" />
      <xs:enumeration value="Payment" />
      <xs:enumeration value="Requisition" />
      <xs:enumeration value="Never" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmBusRelTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Type of prospect</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCreditMaxMST">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Credit limit:The credit limit of the selected prospect</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmCreditRating">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Credit rating:The credit rating of the selected prospect</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmDestinationCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Destination code:The prospect's destination code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmBusRelDirectMail">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Direct mail:A selected check box indicates that the prospect can receive mail directly</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmDlvModeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mode of delivery:The means by which the order will be delivered</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmDlvTermId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Delivery terms:Unique identification of delivery terms</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmFreightZoneId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">UPS zone:The UPS zone for the prospect</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LineOfBusinessId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line of business:The line of business in which the vendor operates</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmBusRelOpenFromTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Opening time:Hours of business.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmBusRelOpenToTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Closing time:Hours of business.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmStatusId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status assigned to prospect</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmLeadDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Lead date:Transaction date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmDaysToClose">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Days to close:Help text</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmLeadMemo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Memo:Additional information about the lead</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmLeadId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Lead ID:The lead identification</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmLeadProcess">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Qualifying process:The qualifying process for the lead</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmLeadRating">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Rating:The rating of how likely the lead will become an opportunity or a customer</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmSourceComment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Comments:PlaceHolder</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmSourceRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Source:PlaceHolder</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SmmSourceTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Source type:Help text</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_smmLeadStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Open" />
      <xs:enumeration value="Qualified" />
      <xs:enumeration value="NotQualified" />
      <xs:enumeration value="OnHold" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmSubject">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Subject:The subject of the lead</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmLeadType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:The lead type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmBusinessSectorId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Business classifications:Business classification assigned to prospect</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_smmBusinessSectorDescription">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Description of business classification.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Name usually applied for the sales tax code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TaxBaseType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Origin:Origin</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="PctPerNet" />
      <xs:enumeration value="PctPerGross" />
      <xs:enumeration value="PctPerTax" />
      <xs:enumeration value="AmountByUnit" />
      <xs:enumeration value="PctGrosOnNet" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TaxLimitBase">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Marginal base:Marginal base</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="LineWithoutVAT" />
      <xs:enumeration value="UnitWithoutVAT" />
      <xs:enumeration value="InvoiceWithoutVAT" />
      <xs:enumeration value="LineInclVAT" />
      <xs:enumeration value="UnitInclVAT" />
      <xs:enumeration value="InvoiceInclVAT" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TaxCalcMode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax calculation method:Sales tax calculation method</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="FullAmounts" />
      <xs:enumeration value="Interval" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxRoundOff">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Round-off:Special rounding-off for sales tax</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxRoundOffType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Rounding form:Rounding type for sales tax.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Ordinary" />
      <xs:enumeration value="RoundDown" />
      <xs:enumeration value="RoundUp" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxIncludeInTax">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Calculate before sales tax:Specifies that duty is calculated before sales tax, so that sales tax is calculated on the duty also.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxBaseMin">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Minimum limit:Lower limit for sales tax calculation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxBaseMax">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Upper limit:Upper limit for sales tax calculation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxValidDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Date:Transaction date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxAmountMax">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Maximum sales tax:Maximum sales tax charged.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxAmountMin">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Minimum sales tax:Minimum sales tax amount charged.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Line">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line:Line.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ItemCodeStr">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item code:The route relation applies for a specific item (Table), a specific item group (Group) or for all items (All)?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TaxSeparator_CN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Separator:Separator</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Space" />
      <xs:enumeration value="DoubleTilde" />
      <xs:enumeration value="Dash" />
      <xs:enumeration value="Comma" />
      <xs:enumeration value="Dot" />
      <xs:enumeration value="Tab" />
      <xs:enumeration value="Tilde" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxProfileId_CN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Profile ID:Unique key representing the identification of a tax integration profile.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Money">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VATInvoiceDescriptionId_CN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">VAT invoice description ID:Identification of the tax invoice description.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxRegistrationNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Registration number:The tax registration number for the legal entity, customer, or vendor specified by the tax authorities</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxGroupName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Name of sales tax group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxExternalInvoiceId_CN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">External invoice number:External invoice number for this invoice.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxTxtFileVoidFlagValue_CN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Void flag value:The value used for void flag.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_EUSalesListType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reporting type:Reporting type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NotAssigned" />
      <xs:enumeration value="Item" />
      <xs:enumeration value="Service" />
      <xs:enumeration value="Investment" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TrvAppStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Document status:Document status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Create" />
      <xs:enumeration value="Submitted" />
      <xs:enumeration value="Approved" />
      <xs:enumeration value="Returned" />
      <xs:enumeration value="Ready" />
      <xs:enumeration value="Ledger" />
      <xs:enumeration value="Cancelled" />
      <xs:enumeration value="Pending" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvDestination">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Location:Location of the employee's expense.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvExpNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expense report number:The expense report number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvDateStd">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Date:Date of transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvTravelTxtEDT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expense purpose:The purpose of the employee's expense.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvCashAdvanceNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Request number:The cash advance request number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxAmountJournal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax amount:Calculated sales tax amount shown in the current currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvCostownerEDT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expense owner:The person responsible for the expense.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Company" />
      <xs:enumeration value="Employee" />
      <xs:enumeration value="CustomerOther" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvCostTypeEDT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expense category:The expense category for the transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_TrvDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Date:Transaction date</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_RealBase">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Real:Real number with standard formatting.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvExpTransDescription">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Category description:Description of the expense category.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvCurrencyCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Currency:Currency code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvExpTypeEDT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expense type:The expense type for the category.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Empty" />
      <xs:enumeration value="Expense" />
      <xs:enumeration value="Advance" />
      <xs:enumeration value="Allowance" />
      <xs:enumeration value="Transport" />
      <xs:enumeration value="Personal" />
      <xs:enumeration value="Airline" />
      <xs:enumeration value="CarRental" />
      <xs:enumeration value="Conference" />
      <xs:enumeration value="Entertainment" />
      <xs:enumeration value="Hotel" />
      <xs:enumeration value="Meals" />
      <xs:enumeration value="Gift" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TrvExpLineType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expense line type:Expense line type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Default" />
      <xs:enumeration value="ItemizedHeader" />
      <xs:enumeration value="ItemizedLine" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvLocation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Location:Travel location</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="128" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvExpMerchantId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Merchant:Merchant name</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvNumberOfPassengers">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number of passengers:Number of passengers for a transport expense line</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvPayMethodEDT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment method:Payment method of the transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ProjExpPolicyStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NoPolicy" />
      <xs:enumeration value="ExpensePassed" />
      <xs:enumeration value="DayPassed" />
      <xs:enumeration value="ReportPassed" />
      <xs:enumeration value="ExpenseWarning" />
      <xs:enumeration value="DayWarning" />
      <xs:enumeration value="ReportWarning" />
      <xs:enumeration value="ExpenseFailed" />
      <xs:enumeration value="DayFailed" />
      <xs:enumeration value="ReportFailed" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvReceiptNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Receipt number:The receipt number used in the tax recovery.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TrvDisputeIsTempCredit">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NotSet" />
      <xs:enumeration value="TempCredit" />
      <xs:enumeration value="LegTransAction" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdEntityKey_TrvExpTable">
    <xs:sequence>
      <xs:element minOccurs="1" name="ExpNumber" type="tns:AxdExtType_TrvExpNumber" />
      <xs:element minOccurs="0" name="LegalEntity_DataArea" nillable="true" type="tns:AxdExtType_SelectableDataArea" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_TrvVehicleType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Vehicle type:Vehicle type for mileage expense category</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressZipCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ZIP/postal code:Identify ZIP/postal code district</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvPBSBusinessName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Company name:Name of the company.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="22" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvCardNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Card number:The credit card number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvCreditCardType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Card type:The type of credit card.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="32" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvCatCodeNoEDT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Category:The category for the credit card.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvCatCodeDescriptionEDT">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Category code description:A description of the category.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvCCTransUniqueID">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unique ID:Unique identifier of a credit card transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="32" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvPbsCountry">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Country/region:Country/region the address is attached to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvCCDisputeStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Dispute status:Credit card transaction dispute status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvDisputeTrackingNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Dispute tracking number:Credit card transaction dispute tracking number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvMerchantCategoryCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Merchant category code:Credit card merchant category code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvPBSKey">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Key:Unique key.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="196" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvPBSTown">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">City:Name of the city</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="13" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_trvPBSUserField">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">User-defined field:General-purpose field for miscellaneous data import.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_trvPBSUserFieldLong">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">User-defined field:General-purpose field for miscellaneous data import.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvTransDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Transaction date:Date of transaction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvFolioNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Folio number:Hotel folio number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvGuestName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Guest name:Hotel guest name</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvGuestNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number of guests:Number of hotel guests</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvNumberOfNights">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number of nights:Hotel number of nights</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TrvHotelChargeType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Hotel charge type:Hotel charge type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="DailyRoomRate" />
      <xs:enumeration value="TelephoneCharge" />
      <xs:enumeration value="RestaurantCharge" />
      <xs:enumeration value="RoomServiceCharge" />
      <xs:enumeration value="MinibarCharge" />
      <xs:enumeration value="LoungebarCharge" />
      <xs:enumeration value="GiftshopCharge" />
      <xs:enumeration value="LaundryCharge" />
      <xs:enumeration value="ValetCharge" />
      <xs:enumeration value="MovieCharge" />
      <xs:enumeration value="BusinessCenterCharge" />
      <xs:enumeration value="HealthClubCharge" />
      <xs:enumeration value="TransportationCharge" />
      <xs:enumeration value="ConferenceRoomCharge" />
      <xs:enumeration value="BanquetCharge" />
      <xs:enumeration value="InternetAccessCharge" />
      <xs:enumeration value="RoomTaxCharge" />
      <xs:enumeration value="NonRoomTaxCharge" />
      <xs:enumeration value="GratuityCharge" />
      <xs:enumeration value="Gift" />
      <xs:enumeration value="BusinessEntertainment" />
      <xs:enumeration value="Other" />
      <xs:enumeration value="HotelDepositAmount" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvTicketNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Ticket number:Airline ticket number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvIssuingCarrier">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Issuing carrier:Airline issuing carrier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvNumberOfLegs">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number of legs:Number of flight legs</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Name field</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvTravelAgencyCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Travel agency code:Airline travel agency code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvTravelAgencyInvoiceNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Travel agency invoice number:Airline travel agency invoice number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvCarrierCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Carrier code:Airline carrier code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvCity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">City:Name of the city</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvFlightNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Flight number:Airline flight number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvAirlineServiceClass">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service class:Airline service class</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="EconomyClass" />
      <xs:enumeration value="FrstClass" />
      <xs:enumeration value="BusinessClass" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvTripLegNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Trip leg number:Flight trip leg number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TrvAirlineChargeType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Airline charge types:Airline charge types</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="TotalFare" />
      <xs:enumeration value="TotalFee" />
      <xs:enumeration value="TotalTaxAmount" />
      <xs:enumeration value="Other" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvRentalLocation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Rental location:Car rental location</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvDaysRented">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number of days rented:Number of days car rented</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvRentalReservationNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Rental reservation number:Car rental reservation number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvMileage">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mileage:The total amount of mileage traveled.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvCarRentalVehicleClass">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Vehicle class:Rental vehicle class</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Compact" />
      <xs:enumeration value="Intermediate" />
      <xs:enumeration value="Full" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TrvCarRentalChargeType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Car rental charge types:Car rental charge types</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="BaseRentalAmount" />
      <xs:enumeration value="Insurance" />
      <xs:enumeration value="Fuel" />
      <xs:enumeration value="OneWayDropOff" />
      <xs:enumeration value="Towing" />
      <xs:enumeration value="ExtraMileage" />
      <xs:enumeration value="LateReturn" />
      <xs:enumeration value="Telephone" />
      <xs:enumeration value="Other" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvVATNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">VAT number:Value added tax number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvItemSalesTaxGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item sales tax group:AX Defined Item Sales Tax Group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TrvSalesTaxGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax group:AX Defined Sales Tax Group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TrvTaxType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expense tax types:Expense tax types</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="VAT" />
      <xs:enumeration value="GST" />
      <xs:enumeration value="HST" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UnitOfMeasureConversionFactor">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Factor:Unit conversion factor</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UnitOfMeasureConversionNumerator">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Numerator:Unit conversion numerator</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UnitOfMeasureConversionDenominator">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Denominator:Unit conversion denominator</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UnitOfMeasureConversionInnerOffset">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inner offset:Unit conversion inner offset</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UnitOfMeasureConversionOuterOffset">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Outer offset:Unit conversion outer offset</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_UnitOfMeasureConversionRounding">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Rounding:Rounding</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Nearest" />
      <xs:enumeration value="Up" />
      <xs:enumeration value="Down" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UnitOfMeasureDecimalPrecision">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Decimal precision:Number of decimals for the value</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_UnitOfMeasureSystemOfUnits">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">System of units:System of units</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Metric" />
      <xs:enumeration value="US" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_UnitOfMeasureClass">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit class:Unit class</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Quantity" />
      <xs:enumeration value="Length" />
      <xs:enumeration value="Area" />
      <xs:enumeration value="LiquidVolume" />
      <xs:enumeration value="DryVolume" />
      <xs:enumeration value="Mass" />
      <xs:enumeration value="Time" />
      <xs:enumeration value="Monetary" />
      <xs:enumeration value="Temperature" />
      <xs:enumeration value="InformationEntropy" />
      <xs:enumeration value="Luminance" />
      <xs:enumeration value="Speed" />
      <xs:enumeration value="Acceleration" />
      <xs:enumeration value="Angle" />
      <xs:enumeration value="SolidAngle" />
      <xs:enumeration value="Force" />
      <xs:enumeration value="Pressure" />
      <xs:enumeration value="Torque" />
      <xs:enumeration value="Energy" />
      <xs:enumeration value="Power" />
      <xs:enumeration value="AngularMomentum" />
      <xs:enumeration value="Capacitance" />
      <xs:enumeration value="Density" />
      <xs:enumeration value="ElectricCurrent" />
      <xs:enumeration value="MagneticField" />
      <xs:enumeration value="MagneticFlux" />
      <xs:enumeration value="ElectricCharge" />
      <xs:enumeration value="ElectricDipole" />
      <xs:enumeration value="ElectricPotential" />
      <xs:enumeration value="ElectricalResistance" />
      <xs:enumeration value="Inductance" />
      <xs:enumeration value="DynamicViscosity" />
      <xs:enumeration value="KinematicViscosity" />
      <xs:enumeration value="Radioactivity" />
      <xs:enumeration value="Undefined" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_UnitOfMeasureReportingText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unit:Translated unit symbol</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendBankAccountId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank account:Identify vendor's bank account.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_VendBankAccountActiveDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Active date:The day before which the bank account is not 'active'</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="AxdExtType_VendBankAccountExpiryDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expiration date:The date that the bank account is inactive and can no longer be used for payments.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_VendBankTransType_JP">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank transaction type:Bank transaction type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="OrdinarySavings" />
      <xs:enumeration value="Checking" />
      <xs:enumeration value="Savings" />
      <xs:enumeration value="Others" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TypeOfAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type of account:Type of account</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="BankAccountNumber" />
      <xs:enumeration value="BankgiroNumber" />
      <xs:enumeration value="PostgiroBankAccountNumber" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendDUNS4Num">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">+4 DUNS segment:Enter the four characters or numbers that are after the 9-digit primary DUNS number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendPaymTextCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Text code:Code specifying a text on the account statement of the recipient.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankOrderOfPayment_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Order of payment:Order of payment: operating, tax.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendBidOnly">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bid only:Specify whether the vendor submits quotations and proposals to you, but you have not purchased from the vendor</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendBlocked">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Vendor hold:Specify which transaction type, if any, is on hold for the vendor</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Invoice" />
      <xs:enumeration value="All" />
      <xs:enumeration value="Payment" />
      <xs:enumeration value="Requisition" />
      <xs:enumeration value="Never" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VersioningChangeRequestRequired">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Activate change management:Should change management be activated?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendCISCompanyRegNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Company registration number (CRN):The company registration number (CRN) of the vendor</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="8" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendCISNationalInsuranceNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">National insurance number (NINO):The national insurance number (NINO) of the vendor</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="9" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_VendCISStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Gross" />
      <xs:enumeration value="Standard" />
      <xs:enumeration value="Higher" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendCISUniqueTaxPayerRef">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unique tax payer reference (UTR):The Unique Taxpayer Reference (UTR) number of the vendor</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendCISVerificationDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Verification date:The date when the Construction Industry Scheme (CIS) status of the vendor is verified by HMRC</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendCISVerificationNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Verification number:The verification number issued by HMRC when you verify the Construction Industry Scheme (CIS) status of a vendor</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="13" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendClearingPeriod">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Settle period:Terms of payment for period from due date to payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendConsDay_JP">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Consolidation day:Enter the consolidation day to consolidate purchase orders for a vendor.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendCreditMaxMST">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Credit limit:Vendor's credit limit to us. The amount is specified in accounting currency (0 = No maximum).</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendCreditRating">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Credit rating:Credit rating of vendor.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendDestinationCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Destination code:Identification of destination code.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DiotCountryCode_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Country/region code:Country/Region code used for DIOT declaration.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendDisabledOwned">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Owner is disabled:Select if the primary owner of the vendor has a disability</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankVendFactoringAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Factoring account:Vendor account number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_FemaleOwner">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Woman owner:Is the owner a woman?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendFineCode_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Fine code:Code that defines the fine rates and terms.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ForeignTaxRegistration_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax registration ID:Tax ID registration for foreign vendors.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="40" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendHUBZone">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">HUBZone:Select if the vendor is located in a HUBZone</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendInterestCode_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Interest code:Code that defines the interest rates and terms.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendLineOfBusinessId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line of business:The line of business in which the vendor operates</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendLocallyOwned">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Locally owned:Specify whether the vendor meets your guidelines for a local owner.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_MinorityOwner">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Minority owned:Does the owner belong to a minority?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendorNationality_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Nationality:Nationality of vendor.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_OrganizationNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Organization number:The organization number of the vendor.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendPaymDayId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment day:Identification of payment days</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendPaymId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment ID:Payment identification used upon payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="200" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendPaymSchedId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment schedule:Payment schedule to be used when invoicing.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchCalendarId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase calendar:Vendor's work-days calendar. Used to calculate order date and delivery date.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendPurchPoolId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase pool:Specify the purchase order pool that purchase orders from vendors will be placed in</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SeparateDivisionId_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Separate division ID:Separate division identifier.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendSmallBusiness">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Small business:Specify whether the vendor meets your guidelines for being a small business</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_StructDepartment_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Organization department:Organization department for Russian invoice.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendSuppItemGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Supplementary item group:Manages the supplementary items for the vendor when supplementary items are calculated.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_Tax1099NameChoice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name to use on the 1099:Name to use on the 1099</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="VendorName" />
      <xs:enumeration value="DBA" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Tax1099Reporting">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Report 1099:Create 1099 form for purchase from vendor.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TaxIDType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax ID type:Tax ID type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Unknown" />
      <xs:enumeration value="EIN" />
      <xs:enumeration value="SSN" />
      <xs:enumeration value="ITIN" />
      <xs:enumeration value="ATIN" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_TaxWithholdVendorType_TH">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Vendor type:Vendor type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Blank" />
      <xs:enumeration value="Domestic" />
      <xs:enumeration value="Foreign" />
      <xs:enumeration value="Individual" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_VATPartnerKind_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Vendor type:Vendor type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="NA" />
      <xs:enumeration value="NonResident" />
      <xs:enumeration value="StateStructure" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendIncomeCode_BR">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Income code:Income code of the vendor.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendItemGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Item - vendor group:Vendor group for external item descriptions</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_VendorType_MX">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type of vendor:Type of vendor</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Blank" />
      <xs:enumeration value="DomesticVendor" />
      <xs:enumeration value="ForeignVendor" />
      <xs:enumeration value="DomesticGlobal" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendPriceToleranceGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Vendor price tolerance group:Identification of vendor price tolerance group for accounts payable invoice matching</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendVeteranOwned">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Owner is a service veteran:Select if the primary owner of the vendor is a service veteran</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendW9">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">W-9 received:Has the vendor W-9 been received?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendW9Excluded">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Check for W-9:Select this check box to verify whether this vendor has provided a W-9 form</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendAccountExt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Our account number:Our account number with vendor</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxWithholdRegNumberRecId_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax Account Number (TAN):Selected Tax Account Number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ApprovedDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Approved date:Date of transaction approval.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ArrivalId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Arrival:Has the transaction been posted to the purchase ledger without being approved?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankRemittanceFileIdVend">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Remittance number:Unique identification of the remittance file.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendExchAdjustment">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exchange rate adjustment amount:Amount of the transaction exchange rate adjustment</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendPaymReference">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment reference:Reference to a specific payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendPromissoryNoteID">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Note ID:Unique key for identification of promissory notes. The key is used when creating new promissory notes.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendPromissoryNoteStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status of the promissory note.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Drawn" />
      <xs:enumeration value="Redrawn" />
      <xs:enumeration value="Protested" />
      <xs:enumeration value="Honored" />
      <xs:enumeration value="Remitted" />
      <xs:enumeration value="Invoiced" />
      <xs:enumeration value="InvoiceRemitted" />
      <xs:enumeration value="Endorsed" />
      <xs:enumeration value="EndorsementSettled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendAutoSettlement">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Settlement:May transaction be settled automatically?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SettleTax1099Amount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Settled federal 1099:The amount that has been paid for federal 1099 purposes.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SettleTax1099StateAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Settled state 1099:The amount that has been paid for state 1099 purposes.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Tax1099Date">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reporting date:Date of 1099 reporting.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Tax1099Num">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">1099 report number:Number of the 1099 report.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxInvoicePurchId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax invoice ID - purchase:Unique key for invoice, allocated when invoice updating.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendExchAdjustmentRealized">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Realized exchange rate adjustment:Realized exchange rate adjustment amount of this transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendExchAdjustmentUnrealized">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Unrealized exchange rate adjustment:Unrealized exchange rate adjustment amount of this transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendPaymentGrouping">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment group code:The common code by which transactions are grouped for payment</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EmplAccount_RU">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Advance holder:Advance holder code (employee code).</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ServiceTaxPOTStatus_IN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Point of taxation status:Point of taxation status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Original" />
      <xs:enumeration value="Reversed" />
      <xs:enumeration value="PartiallyReversed" />
      <xs:enumeration value="Reclaimed" />
      <xs:enumeration value="PartiallyReclaimed" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ClearingPeriod">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Settle period:Terms of payment for period from due date to payment.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustVendTaxGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Default tax group:Default tax group for customers and vendors</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PurchIdOrig">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purchase order:Purchase that the line is generated from</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InvoiceLineDescription">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line description:A description of the item that was ordered</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="1000" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_PurchInvoiceLineType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Line type:Line type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Standard" />
      <xs:enumeration value="Advance" />
      <xs:enumeration value="AdvanceApplication" />
      <xs:enumeration value="ReverseAdvanceApplication" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendRequestSignupUIN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Signup user ID:Unique identification of signup user</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_DirPartyType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Record type:Record type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Person" />
      <xs:enumeration value="Organization" />
      <xs:enumeration value="LegalEntity" />
      <xs:enumeration value="Team" />
      <xs:enumeration value="OperatingUnit" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ContactPersonName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Contact:The name of the contact</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_WebSiteURL">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Internet address:WWW address for Internet homepage</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EventInboxId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Inbox ID:Unique ID of an inbox record</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EventRuleId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Rule ID:Unique identifier of a rule.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EventCudTableId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">CUD table ID:Table ID of the CUD event table.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:complexType name="AxdExtType_EventAlertCreatedDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Alert created date and time:Date and time of alert creation</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_EventSubject">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Subject:Notification subject.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="128" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EventMessage">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Message:Notification message.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EventAlertedFor">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Notified for:Identification of the related record.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EventFieldLabelRich">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Field:Field name</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="250" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EventTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Event type ID:Class ID of an EventType class</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_EventTypeTrigger">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Group:Group</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="FieldChanged" />
      <xs:enumeration value="DueType" />
      <xs:enumeration value="RecordInsert" />
      <xs:enumeration value="RecordDelete" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SysEmailItemId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">E-mail identifier:Identifier of outgoing e-mail item</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SysEmailRecipients">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">E-mail recipients:Recipient e-mail address.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdType_ContainerElementTypeRestrictions">
    <xs:restriction base="xs:string">
      <xs:enumeration value="blob" />
      <xs:enumeration value="date" />
      <xs:enumeration value="datetime" />
      <xs:enumeration value="enum" />
      <xs:enumeration value="int" />
      <xs:enumeration value="int64" />
      <xs:enumeration value="real" />
      <xs:enumeration value="str" />
      <xs:enumeration value="guid" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdType_ContainerElement">
    <xs:simpleContent>
      <xs:extension base="xs:anySimpleType">
        <xs:attribute name="type" type="tns:AxdType_ContainerElementTypeRestrictions" use="required" />
        <xs:attribute name="name" type="xs:string" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="AxdType_Container">
    <xs:sequence>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="element" type="tns:AxdType_ContainerElement" />
        <xs:element name="container" type="tns:AxdType_Container" />
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdExtType_EventFieldList">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Field list:Packed list of field IDs.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="element" type="tns:AxdType_ContainerElement" />
        <xs:element name="container" type="tns:AxdType_Container" />
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdExtType_EventFieldData">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Field data:Packed map of field data.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="element" type="tns:AxdType_ContainerElement" />
        <xs:element name="container" type="tns:AxdType_Container" />
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_EventInstanceRelationType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Instance relation type:Determines type of the instance that the alert rule is associated to.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_EventNotificationSource">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Source:Source</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Alerts" />
      <xs:enumeration value="Workflow" />
      <xs:enumeration value="Batch" />
      <xs:enumeration value="Sync" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EventIsAggregated">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Aggregated field:Automatic summary</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_EventNotificationType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type of notification:Type of notification</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Information" />
      <xs:enumeration value="Action" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EventDueDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Due date:Notification due date.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EventIsGlobalRule">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Organization-wide:Is the alert rule organization-wide?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
</xs:schema>